SyntaxFix
Write A Post
Hire A Developer
Questions
The Python Tutorial discusses how to use lists.
Storing a list of classes is no different than storing any other objects.
def MyClass(object): pass my_types = [str, int, float, MyClass]