I have this simple program:
x = {} x[1,2] = 3 print x print x[1,2]
It works great. The fist print generates {(1,2):3} , and the second generates 3 .
But in my "big" program, I seem to be doing the same thing, but I get the error list indices must be integers, not tuple . What can this error message mean and how can I solve this problem?
Roman source share