Here is an easy way to temporarily turn off STDOUT or STDERR in your Python program. First you create a class to replace STDOUT. This i...