It is really a smart idea to capture and re-raise KeyboardInterrupts, to be able to however destroy the program working with Ctrl-C. Logging is outside the house the scope of the query, but an excellent solution is logging. Documentation with the sys and traceback modules. Just send out him an https://helpmehigh.com/