2013-06-05 12 views

回答

4

__import__返回一个模块。您需要将结果绑定到名称上:

a = __import__("a") 
a.A()