It truly is a smart idea to capture and re-raise KeyboardInterrupts, so that you can nonetheless eliminate the program using Ctrl-C. Logging is outside the house the scope from the problem, but an excellent solution is logging. Documentation for that sys and traceback modules. It gives you further Manage about https://how-to-get-free-phone99876.blogrenanda.com/43592592/free-government-phone-things-to-know-before-you-buy