I'd like to create instances of classes getting their names from list values or dictionaries keys or values. Basically what I'd like to do is:
iter = ['foo', 'bar']
for a in iter:
a = Cls()
and get foo and bar instances of Cls() class instead of having instance referenced by a updated at each loop.
Thanks in advance.