[Tutor] simple array access
jadrifter
jadrifter at gmail.com
Thu Jan 8 03:24:51 CET 2009
On Wed, 2009-01-07 at 18:12 -0800, Artie Ziff wrote:
> Hello,
>
> I used python list comprehension to create a grid (list of lists) of
> Objects (instances of MyItem class). Can anyone make recommendations to
> achieve a simple access to the elements. My attempt at array access
> (like this: array[1,2] ) does not work. What am I overlooking? Thanks in
> advance! :)
>
Hello,
You might want to take a look at NumPy
http://numpy.scipy.org/
John Purser
More information about the Tutor
mailing list