Dynamic Class Creation
Steffen Schoen
python.noob at gmx.de
Fri Aug 6 06:30:19 EDT 2004
(maybe it works better with Subject ;))
Hi there,
my problem: i have a directory, where several python modules (classes) are
stored.
The names of these modules arent known before runtime. Now i want to parse
the Directory and create an instance of each class. I tried to handle this
with
new.instance() and new.clasobj() but this didnt really work for me. Any
Ideas ?
More information about the Python-list
mailing list