On 22 May 2013 13:24, Jim Mooney <cybervigila...@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 _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor