newbie question - object from a string?

Chris Liechti cliechti at
Mon Nov 26 21:49:55 CET 2001

[posted and mailed]

Gordon Scott <gordon.scott at> wrote in 
news:mailman.1006800222.5110.python-list at
> Is there a way to dynamically import the class? Or is there entirely
> different approach I should be 
> using to accomplish this?

try the builtin function "__import__" (not the keyword)


Chris <cliechti at>

More information about the Python-list mailing list