Multidimensional arrays - howto?

doodle4 at gmail.com doodle4 at gmail.com
Mon Feb 14 18:21:50 EST 2005


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]--
    }




More information about the Python-list mailing list