Can local function access local variables in main program?

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Sat Nov 3 07:08:40 EDT 2007


Sullivan WxPyQtKinter wrote:

> UnboundLocalError: local variable 'x' referenced before assignment

For your reference:

http://groups.google.de/groups?q=group:comp.lang.python+UnboundLocalError

Regards, 


Björn

-- 
BOFH excuse #12:

dry joints on cable plug




More information about the Python-list mailing list