[Tutor] Closing GUI program

Jim Morcombe jmorcombe at westnet.com.au
Fri Dec 28 07:51:06 CET 2007


I have copied the following program.  When I run it, (By pressing F5 from IDLE), it displays the "Hello world" message.

When I close the window, the "Hello world" message disappears, but it seems that the program is still running, because when I close the shell, i get the message "The program is still running.  Do you want to kill it?"

How do I get the program to terminate when the window is closed?

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20071228/9564c8fe/attachment.htm 


More information about the Tutor mailing list