dcase_util.utils.SuppressStdoutAndStderr

class dcase_util.utils.SuppressStdoutAndStderr[source]

Context manager to suppress STDOUT and STDERR

A context manager for doing a deep suppression of stdout and stderr, i.e. will suppress all print, even if the print originates in a compiled C/Fortran sub-function.

After: http://stackoverflow.com/questions/11130156/suppress-stdout-stderr-print-from-python-functions

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)