(no subject)

toffer_ji0 at subdimension.com toffer_ji0 at subdimension.com
Tue Nov 27 12:11:26 EST 2001


is it possible to call or rather use an instantiated class using, say
a string (assuming unique)..

i.e.

anInstance = aClass('uniqueName')
.
.
.
'uniqueName'.someMethod(someParameter)

i'm doing this because i need keep a some classes in a list.. i find
it intensive sometimes to use a for loop with if statements
just to check if the class exist then use it...





More information about the Python-list mailing list