阅读背景:

如何在Python中从类对象创建新实例

来源:互联网 

I need to dynamically create an instance of a class in Python. Basically I am using the load_module and inspect module to import and load the class into a class object, but I can't figure out how to create an instance of this class object.I need to dynamically create an instance of a c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: