随笔分类 -  python高阶编程

记录学习高阶编程的学习过程
摘要:强大的装饰器 认识装饰器 我们先看一个简单的例子: def my_zhuangsq(func): def new_fun(): print('帮助认识装饰器的作用') func() return new_fun ​ def say_hello(): print('hello world') ​ sa 阅读全文
posted @ 2020-06-19 14:53 风车车与车车风 阅读(183) 评论(0) 推荐(0)