example - list_of_classes = ['A', 'B', B', 'A']
class A: doingsomething class B: doing something for x in list_of_classes: x() my problem is that i get 'TypeError: 'str' object is not callable', of which i understand what the error is saying, i just want to know how to dynamically call the class. i have been trying to search google, but im not exactly sure what i should be searching for :-/ I'm not really asking for someone to hold my hand through it, just some pointers on where i need to start looking. thanks. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor