What's wrong with this code? (UnboundLocalError: local variable referenced before assignment)

pablobarhamalzas at gmail.com pablobarhamalzas at gmail.com
Mon Jun 24 15:53:42 EDT 2013


Just before anyone says, the reason I bind to the Canvas instead of binding directly to the rectangle is because I plan to add more squares in the future.
Cheers.



More information about the Python-list mailing list