[EMAIL PROTECTED] wrote:
Hello all,

I am trying to convert some C code into python. Since i am new to
python, i would like to know how to deal with multidimensional arrays?

Thanks,
-Joe

Here's a snippet of what i am trying to convert:

# define table0 15
# define table1 20

unsigned int Table[table0][table1]

if(Table[table0][table1] != 0)
    {
         Table[table0][table1]--
    }

You might consider numarray. This is a package which is downloadable from Source Forge and intended for numeric and other arrays.

Colin W.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to