KeyboardInterrupt

Raised when the user hits the interrupt key (normally Control-C or Delete). During execution, a check for interrupts is made regularly. Interrupts typed when a built-in function input or raw_input is waiting for input also raise this exception.

 

Comment:

Keep in mind that only the main thread receives KeyboardInterrupts

Posted by Mike Klaas (2006-12-02)

A Django site. this page was rendered by a django application in 0.04s 2009-01-09 00:34:47.783057. hosted by webfaction.