On Wed, May 22, 2013 at 1:30 PM, Jim Mooney <cybervigila...@gmail.com>wrote:
> 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. > That makes a lot of sense. And should be added to the list of responses _next_ time somebody asks "Why shouldn't I run production code in IDLE?"
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor