04 2020 档案

摘要: 阅读全文
posted @ 2020-04-26 14:30 morein2008 阅读(233) 评论(0) 推荐(0) 编辑
摘要:自定义计算函数运行耗时的函数 import time import functools def running_time(func): @functools.wraps(func) def wrapper(*args,**kwargs): start=time.time() result=func( 阅读全文
posted @ 2020-04-23 13:29 morein2008 编辑

点击右上角即可分享
微信分享提示