How do I capture SIGINT in Python? How do I capture SIGINT in Python? python python