select a class in execution time
cybersamurai at mac.com
cybersamurai at mac.com
Mon Apr 7 10:03:29 EDT 2003
have some like that on Python?
Object x = Class.forName( "mypackage.TheClass" ).newInstace();
(this is a java code)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 219 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20030407/530c79eb/attachment.bin>
More information about the Python-list
mailing list