阅读背景:

如何在运行时使用不同的名称实例化现有类的对象?

来源:互联网 

In Python, I would like to instantiate objects of a class where the objects are instantiated at run time without using dictionaries? So I can refer to the objects properties from the string entered.In Python, I would like to instantiate objects




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

分享到: