It can be a good idea to capture and re-raise KeyboardInterrupts, so that you could still eliminate the program working with Ctrl-C. Logging is outside the scope on the question, but a fantastic option is logging. Documentation with the sys and traceback modules. You can consult with the next one-way https://freegovernmentphone53209.smblogsites.com/37070623/the-2-minute-rule-for-free-phone-low-income