Create an instance, I already have the type
Is lazyr says, it is not possible with type
. Maybe what you could use is something like
class ClassA: pass
myclass = ClassA
instance = myclass()
If you use a new style class it, this will work:
class ClassA(object):
pass
o = ClassA()
mytype = type(o)
new_object = mytype()