Decorator
    Make stdout silent

def mute(func):
    """ Decorator
    Make stdout silent
    """
    def _f(*args, **kwargs):
        sys.stdout = open(os.devnull, 'w')
        res = func(*args, **kwargs)
        sys.stdout.close()
        sys.stdout = sys.__stdout__
        return res
    return _f