initialize a dictionary

shama.bell at gmail.com shama.bell at gmail.com
Wed Mar 30 16:02:05 EST 2005


Hello,

Can I do something like this?

table = {}
table[32, 16] = 0x0

Where 32 specifies rows and 16 specifies columns and i am trying to
initialize it to zero

I should be able to do comparisons like:
table[t1, t2] == 0x1 etc.
-SB




More information about the Python-list mailing list