Instantiate all objects in a module?
Donald Westfield
nowhere at notrealaddress.com
Tue Aug 15 20:06:52 EDT 2006
I have my own module, called mystuff.py, which is to be imported for an
app.
The number of classes in the module will vary, so I need a subroutine that
will instantiate all of them as objects, and assign a variable to each,
regardless of what names the classes are.
Then I need to be able to delete these objects from memory completely at
times.
Can someone recommend a subroutine for this?
More information about the Python-list
mailing list