def getitem_via_pathlist2(pathlist, ol):
    """
        from elist.elist import *
        y = ['a',['b',["bb"]],'c']
        y[1][1]
        getitem_via_pathlist2([1,1],y)
    """
    this = ol
    for i in range(0, pathlist.__len__()):
        key = pathlist[i]
        this = this.__getitem__(key)
    return this
