newbie question - object from a string?
Chris Liechti
cliechti at gmx.net
Mon Nov 26 15:49:55 EST 2001
[posted and mailed]
Gordon Scott <gordon.scott at peregrine.com> wrote in
news:mailman.1006800222.5110.python-list at python.org:
[...]
> 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
--
Chris <cliechti at gmx.net>
More information about the Python-list
mailing list