@@ -0,0 +1,473 @@
+#!/usr/bin/env python%0A# coding=utf-8%0A%0Aimport functools%0A%0Adef suppress_errors(func):%0A    %22%22%22%0A    Automatically silence errors that occur within a function%0A    %22%22%22%0A    @functools.wraps(func)%0A    def wrapper(*args, **kwargs):%0A        try:%0A            return func(*args, **kwargs)%0A        except Exception:%0A            pass%0A    return wrapper%0A%0A@suppress_errors%0Adef divide_zeros():%0A    print('Running function...')%0A    return 1.0/0%0A%0Aif __name__ == '__main__':%0A    divide_zeros()%0A

test a decorator with function of suppressing error