[EMAIL PROTECTED] schrieb:
> Can you please tell me what is the meaning of
>  UnboundLocalError: local variable 'colorIndex' referenced before
> assignment 
> 
> in general?

Well, pretty much of what it says: You tried to access a variable without prior 
assignment to it. Like this:


a = b**2 + c**2

Won't work. But if you do

b = 2
c = 3
a = b**2 + c**2

it works. I suggest you read a python tutorial - plenty of the out there, 
google is as always your friend.

Diez

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to