connect SIGINT to custom interrupt handler

Miki Tebeka miki.tebeka at gmail.com
Sun May 15 11:25:42 EDT 2011


Greetings,

> I am trying to connect SIGINT (^c) to a custom interrupt handler like
> this (no threading, just straightforward): 
Why not just catch KeyboardInterrupt?

All the best,
--
Miki



More information about the Python-list mailing list