Hello, I would like to create an instance of class from the string name of the class class Foo: pass classname = 'Foo' instance = create_instance('Foo') Thank you for your help Regards Salvatore