It really is a good idea to catch and re-increase KeyboardInterrupts, to be able to even now eliminate This system using Ctrl-C. Logging is outside the house the scope from the question, but a good alternative is logging. Documentation to the sys and traceback modules. Sourcing our have solutions and https://helpmehigh.com/