Instantiate an object based on a variable name

Wells thewellsoliver at gmail.com
Thu Dec 31 11:54:57 EST 2009


Sorry, this is totally basic, but my Google-fu is failing:

I have a variable foo. I want to instantiate a class based on its
value- how can I do this?



More information about the Python-list mailing list