differentially loading a class at runtime
mauriceling at acm.org
Wed Oct 13 23:48:49 CEST 2004
In normal circumstances, we know exactly which class to load and use
using compile time. But I am now faced with a situation whereby I need
to load a class differentially at runtime (the user can define which
class to load).
allowed = ['a', 'b']
'allowed' list will store the names of the alternative classes to use.
The alternative classes have the same set of methods but different
How can I differentially use the classes at runtime?
More information about the Python-list