Keyboard interrupts, Idle vs. SciTE
robert
no-spam at no-spam-no-spam.invalid
Fri Nov 3 09:11:30 EST 2006
More information about the Python-list mailing list
Fri Nov 3 09:11:30 EST 2006
- Previous message (by thread): Feature Request: Py_NewInterpreter to create separate GIL (branch)
- Next message (by thread): Keyboard interrupts, Idle vs. SciTE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
John Ladasky wrote: > Hi there. > > The following minimal code in Python 2.3.4 works under Idle v. 1.0.3, > but not under SciTE v. 1.66: > > from time import sleep > try: > while True: > sleep(0.25) > print ".", > except KeyboardInterrupt: > print "\nKeyboard interrupt received. Exiting program.\n\n" > > > Under SciTE, I do not get my "exiting program" message. Instead, I get > the standard SciTE abort message: > > >> Process failed to respond; forcing abrupt termination... >> Exit code: 1 > > > I much prefer the SciTE environment to Idle. Is there any way that I > can rewrite my program to restore the keyboard interrupt function under > SciTE? Alternately, is there some setting that I can change in SciTE > to accomplish the same effect? Use PythonWin on Windows. It is based on the same Scintilla editor, but provides real interaction and inline script execution capabs, debugging ... SciTE catches only stdout ( sometimes :-) ) etc. robert
- Previous message (by thread): Feature Request: Py_NewInterpreter to create separate GIL (branch)
- Next message (by thread): Keyboard interrupts, Idle vs. SciTE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list