> I am mixing 2 examples given in "an-introduction-to- tkinter " > by Fredrik Lundh.(and got this code) > Today I got this error message >
> Traceback (most recent call last): > File "<pyshell#5>", line 1, in <module> > xx=app(root,event) > NameError: global name 'event' is not defined Which tells you that event is not recognised. Where do you define event? Also look at your call to app() It is different to both calls in the examples: > Example1= ... > app = App(root) > Example2= > root = Tk() > root.mainloop() Where does your "event" come from? What purpose is it supposed to serve? Alan G
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor