terminate exectutioin in PythonWin

Jim jbo at cannedham.ee.ed.ac.uk
Wed Apr 13 08:32:02 EDT 2005


Larry Bates wrote:
> 1) To exit any application:
> 
> import sys
> sys.exit(0)

...



Thanks Larry.

Actually I meant how do I stop a program running that I have started in 
the interpreter. If I get into an infinite loop I can't stop it without 
qutting PythonWin.

Then I have to open all the files and re-insert breakpoints etc.  :(

Jim



More information about the Python-list mailing list