Python Stop stdout
f = open('/dev/null', 'w')
sys.stdout = f
Zealous Zebra
f = open('/dev/null', 'w')
sys.stdout = f