I have to dynamically created class instance based on value on some variable
class A(object):
def funct1(self):
code....
def func2(self):
code..
var = 'string'
&var = A()
Now I want to created instace of Class A whose name is string. How can I do with python or is there any aletranate to give unique name to each class instance at run time?