I have a module called ModuleA.py, in which there is a class called Dog, what should I put in the "????" part to get the instance of class Dog???
import ModuleA classname = "Dog" module = globals()["ModuleA"] classobj = ??????? <---using classname instanct = classobj() -- http://mail.python.org/mailman/listinfo/python-list