On 27/11/06, johnf <[EMAIL PROTECTED]> wrote:
> So there are outside exception handlers?  OK.  thanks for the answer.  For now
> that all I needed to understand.

I'm not sure that "outside" is quite the right word ..

If you write Tkinter code, you will (at some point) call mainloop().

mainloop(), in turn, will call your functions, as the user does stuff.

If your code raises an exception, mainloop() will "handle" that
exception, in that it will print some stuff out, and then go back to
looking for events.  But it's still part of your program (as opposed
to, say, part of the interpreter), it's just not code that you've
written yourself.

Different GUIs might do things differently..

-- 
John.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to