It's a good idea to capture and re-elevate KeyboardInterrupts, to be able to however get rid of the program employing Ctrl-C. Logging is outside the house the scope from the problem, but a very good alternative is logging. Documentation for your sys and traceback modules. The end with the ACP https://cesarqxcin.estate-blog.com/36079685/the-free-phones-diaries