[Tutor] Turtle problem: how to exit the .exe?

Dick Moores rdm at rcblue.com
Tue Jul 29 01:12:08 CEST 2008

At 03:32 PM 7/28/2008, Alan Gauld wrote:

>"Dick Moores" <rdm at rcblue.com> wrote
>>But I'd like to make a version of the script that doesn't report 
>>any data. How can I write it so that the .exe can be easily exited 
>>by the user? If Tkinter instead of Turtle were involved, I could 
>>have an Exit button connected to command=root.quit .
>Tkinter is involved, turtle usesw Tkinter.

Yes, I allowed for that when I made the .exe:
python Makespec.py 
-FKc  E:\PyInstaller\MyScripts\randomTriangles_wo_named_colorsV13.exe

>But to exit I would expect the standard Windows exit key
>combination (Alt F4) to work fine?

Yes, but no. Try it yourself. Please. 


More information about the Tutor mailing list