def importReturnLast(name):
    mod = __import__(name)
    components = name.split('.')
    for comp in components[1:]:
        mod = getattr(mod, comp)
    return mod
importReturnLast(name: str) -> package
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/spreadsheet/init.py/importReturnLast