It really is a good idea to catch and re-increase KeyboardInterrupts, so that you can even now eliminate the program working with Ctrl-C. Logging is outside the house the scope of the question, but a good choice is logging. Documentation to the sys and traceback modules. substantial amount of cash. https://helpmehigh.com/