Can you create a class from a string name
Michael Ströder
michael at stroeder.com
Sun Mar 2 10:01:49 EST 2003
Lenard Lindstrom wrote:
>
> classobj = eval('<classname>')
For security reasons don't forget to check each input string for eval()
thoroughly.
Ciao, Michael.
More information about the Python-list
mailing list