def register_signals():
    'Register signal handlers'
    signal.signal(signal.SIGINT, signal_handler)
Register signal handlers
def register_signals():
    
    signal.signal(signal.SIGINT, signal_handler)