[Tutor] Instantiating large numbers of objects?
Sun, 3 Feb 2002 16:46:38 -0500
> I seem to recall being told once that in C or Java one would create an
>array or Vector of objects. I was thinking I would do the same thing
> with my Rooms, except Python doesn't have arrays or Vectors.
I believe that the Python list data structure
(http://www.python.org/doc/current/tut/node5.html) can be used analogously
to arrays in C(a vector, at least in math, is a n-by-1 array, and a list is
good here too). Did you consider them? Is there some reason they would be