It truly is a good idea to capture and re-elevate KeyboardInterrupts, so as to however destroy the program applying Ctrl-C. Logging is outside the house the scope in the issue, but a fantastic option is logging. Documentation for that sys and traceback modules. It could be very important to note https://helpmehigh.com/