# import A
A = __import__('A')
# import A.a
A = __import__('A.a')
# from A.a import f1
_temp = __import__('A.a', fromlist=['f1'])
f1= _temp.f1
# from A.a import f1, f2 as Tname
_temp = __import__('A.a', fromlist=['f1', 'f2'])
f1= _temp.f1
Tname= _temp.f2