iwopy.utils.stdout.suppress_stdout

iwopy.utils.stdout.suppress_stdout(silent=True)[source]

Surpresses print outputs

Example

>>> with suppress_stdout():
>>>    ...

Source: https://stackoverflow.com/questions/2125702/how-to-suppress-console-output-in-python

Parameters:

silent (bool) – Flag for the silent treatment.