摘要: 1、引入场景: 检查代码的运行时间 import time def func(): start = time.time() time.sleep(0.12) print('看看我运行了多长时间!') end = time.time() print('此段代码运行时长为:%s'%(end - star 阅读全文
posted @ 2019-11-26 19:19 四方游览 阅读(3682) 评论(1) 推荐(1)