It can be a good idea to capture and re-raise KeyboardInterrupts, so that you could nonetheless eliminate This system making use of Ctrl-C. Logging is outside the house the scope from the problem, but a good selection is logging. Documentation for the sys and traceback modules. You may consult with https://freephones10875.dailyblogzz.com/37659161/about-free-phone-low-income