It is really a smart idea to catch and re-raise KeyboardInterrupts, so that you could however kill This system utilizing Ctrl-C. Logging is outdoors the scope with the problem, but a very good possibility is logging. Documentation to the sys and traceback modules. It might be important to note that https://e-bookmarks.com/story5832494/the-basic-principles-of-find-weed-in-southampton