How do you do arrays

Kartic kartic.krishnamurthy at gmail.com
Tue Feb 1 14:41:01 EST 2005


Tom,

It has to be iMatrix.append(k), not iMatrix[index] = k. Python will
give an error - list assignment index out of range - for that.
Just curious - what book are you following?

-Kartic




More information about the Python-list mailing list