摘要:
# -*- coding:utf-8 def a_new_decorator(a_func): def wrapTheFunction(): print("I am doing some boring work before executing a_func()") a_func() print(" 阅读全文
摘要:
# -*- coding:utf-8 from functools import reduce def test_args(f_arg,*args): print("f_arg is", f_arg) for arg in args: print ("another arg through *arg 阅读全文