Creating Long Lists
zawackkfb at gis.a-star.edu.sg
Tue Feb 22 06:05:11 EST 2011
I am using python 2.6.2, so it may no longer be a problem.
I am open to using another data type, but the way I read the
documentation array.array only supports numeric types, not arbitrary
objects. I also tried playing around with numpy arrays, albeit for
only a short time, and it seems that although they do support
arbitrary objects they seem to be geared toward numbers as well and I
found it cumbersome to manipulate objects with them. It could be
though that if I understood them better they would work fine. Also do
numpy arrays support sorting arbitrary objects, I only saw a method
that sorts numbers.
More information about the Python-list