[Tutor] keyboard interrupt
Jim Mooney
cybervigilante at gmail.com
Wed May 22 22:30:29 CEST 2013
On 22 May 2013 13:24, Jim Mooney <cybervigilante at gmail.com> wrote:
>> I've not used it myself, but I believe the KeyboadInterrupt is only
>> generated by one _specific_ keypress. You mentioned that you pressed a key
>> - did you try Control-C?
>
> Actually, I did, using Win 7 - and I put exit() in place of pass. I
> tried ctrl-c, ctrl-x, esc, and del. Windows doesn't seem to respond to
> anything. The prog just goes to the end
>
> Jim
Figured it out. Ctrl-C only works in the Windows Command window, not
in an editor.
Jim
--
Jim Mooney
"When I got to high school I realized my name would always present
problems." --Dick Hertz
More information about the Tutor
mailing list