How to interrupt a long-running operation in Python. #python
try: // Something really long and boring except (KeyboardInterrupt, SystemExit): // Get me out of here exit()