signalEasy Playground

Set handlers for OS signals (SIGINT, SIGTERM, etc.)

Python Playground
Output
Click "Run" to execute your code

The signal module is part of Python's standard library. Set handlers for OS signals (SIGINT, SIGTERM, etc.).

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?