muffle Simple module for silencing all output from external process. Really, all. Based on this post. install pip install muffle use import muffle with muffle.on(): # do noisy stuff