摘要: 模块介绍 time &datetime模块 random os sys shutil json & picle shelve xml处理 yaml处理 configparser hashlib subprocess logging模块 re正则表达式 导入包使用演示 time & datetime模 阅读全文
posted @ 2020-02-04 21:20 Vinci-Q 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 装饰器 个人对装饰器的理解如下: 1 ''' 2 装饰器:不改变源代码和调用方式前提下,添加需求 3 知识点:高阶函数、函数嵌套 4 ''' 5 def pay(func): 6 def inner(*args,**kwargs): 7 print("已支付") 8 func(*args,**kwa 阅读全文
posted @ 2020-02-04 14:32 Vinci-Q 阅读(129) 评论(0) 推荐(0) 编辑