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

Dick Moores rdm at rcblue.com
Tue Jul 29 04:27:50 CEST 2008


At 05:30 PM 7/28/2008, Alan Gauld wrote:

>"Dick Moores" <rdm at rcblue.com> wrote
>
>>>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
>
>Means nothing to me, I've never found a need to make an exe
>from a python program... :-)
>
>>>But to exit I would expect the standard Windows exit key
>>>combination (Alt F4) to work fine?
>>
>>Yes, but no. Try it yourself. Please. 
>><http://www.rcblue.com/Misc/randomTriangles_wo_named_colorsV13_no_console.exe>
>
>Very odd, I assume the python script when executed normally
>doesn't exhibit such odd behaviour?

When I try to stop the script from running not by a Ctrl+Q on the 
console window, but on the Turtle window, the only way is to use the 
Task Manager.

>The only way I could stop
>it was to kill the process from Task Manager.

Yes.

>  Are you sure you
>aren't generating some kind of autostart option in your exe
>building tool?

Well, since the behavior of the .exe is exactly the same as that of 
the running script, I'd say that isn't happening.

>I have no further ideas...

Well, thanks for trying, Alan.

Dick




More information about the Tutor mailing list