def import_sub_package(sub_package_chain):
    """
    import_sub_package(['A', 'B', 'C']) -> module
    
    where module is the sub package A.B.C
    """
    
    name = '.'.join(sub_package_chain)
    fromlist = [sub_package_chain[-1]]
    return __import__(name, fromlist = fromlist)