|
||||
| I can't figure out how to import and instantiate a class at run time. I.e. I don't know that name of the module or class until runtime. I know that I can use the builtin __import__ function for the importing, but I'm stuck on the instantiation part. | ||||
|
|
LiveJournal for python.
|
|||||||||
| Saturday, October 2nd, 2004 |
|
||||
| I can't figure out how to import and instantiate a class at run time. I.e. I don't know that name of the module or class until runtime. I know that I can use the builtin __import__ function for the importing, but I'm stuck on the instantiation part. | ||||
|
|
LiveJournal for python.
|
|||||||||||