摘要: import time def decorator(func): def wrapper(*args, **kwargs): start_time = time.time() func() end_time = time.time() print(end_time - start_time) ret 阅读全文
posted @ 2019-01-18 10:11 zhaoweibin 阅读(120) 评论(0) 推荐(0) 编辑