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.00s 2012-02-13 04:32:14.951986. hosted by webfaction.