It truly is a smart idea to catch and re-increase KeyboardInterrupts, so as to nonetheless eliminate This system employing Ctrl-C. Logging is exterior the scope on the question, but a fantastic option is logging. Documentation for the sys and traceback modules. I don't see this pointed out in any of https://free-government-phone43210.bloggerchest.com/37053023/not-known-facts-about-free-phones