I would like to turn string into a class to instantiate an object. Example:
A normal class:
class Rank:
def __init__ (self):
print ('obj created ...')
Instantiating an object:
obj = Rank ()
Turning str in class ...
rank = 'Rank ()'
obj = rank
Sorry my english