It's a good idea to capture and re-elevate KeyboardInterrupts, so as to nonetheless eliminate This system using Ctrl-C. Logging is exterior the scope on the query, but a good selection is logging. Documentation for your sys and traceback modules. This query is inside a collective: a subcommunity explained by tags https://helpmehigh.com/