Wells schrieb: > 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? class Foo(object): pass ze_class = Foo f = ze_class() Diez