摘要: name, passworld = 'luo', 'luo123'def deco(way_): def log_on_way(func):#func参数代表的是index_函数体空间的路标 index_ def func1(testing):#func1包含index_,于是,index_的参数, 阅读全文
posted @ 2021-11-14 13:02 往上落白 阅读(70) 评论(0) 推荐(0)
摘要: import timedef timer(func): def deco(*args, **kwargs): stat_time = time.time() func(*args, **kwargs) print(func) stop_time = time.time() print('the fu 阅读全文
posted @ 2021-11-14 11:07 往上落白 阅读(94) 评论(0) 推荐(0)