Temporarily suppress console output in python (From: Dave Smith’s Blog)
The trick come from Dave Smith’s Blog.
Sometime some functions spams your console and you want to suppress
temporarly the output.
The function below do the job:
If you want to ask me a question or leave me a message add @bougui505 in your comment.