[help]How to load a class dynamic?

dolephi9080 member27604 at dbforums.com
Tue May 13 02:45:23 EDT 2003


Suppose I have some 3 party Modules, and In my program, I don't know
what is the 3 party classes are, but I can find the name from the 3
party's Module.
it provide a manifest, it has a line classname =
"mypackage.mymodule.MyClass"
now my program read this line, and how to instance the class from
this string?

--
Posted via http://dbforums.com




More information about the Python-list mailing list