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