一、用函数来装饰函数 (一)无参数修饰 def Decorate(func): # func:为被装饰的函数传入,即 func = foo def main(*args): func() # 执行被修饰函数,注释掉则被修饰函数的内容不会执行 print(args) # 打