It is really a smart idea to catch and re-elevate KeyboardInterrupts, so that you can nevertheless destroy the program utilizing Ctrl-C. Logging is exterior the scope in the issue, but a superb alternative is logging. Documentation for your sys and traceback modules. This question is inside of a collective: a https://lingeriebookmark.com/story10080701/a-simple-key-for-weed-in-belfast-unveiled