I have started to make an artificial life simulator in Python 2.7.3 but I am unable to create classes at runtime, continuously. I know that I can do this in C++ by storing the class in a list. Does anyone know how to do this? I mean something like this:
x = 1
name = list()
name[x] = myClass()
x+=1
name[x] = myClass()
And so on, although I will be using a loop for this.