returnes

导航

2020年11月27日 #

装饰器测试函数执行时间

摘要: 1 # -*- coding: utf-8 -*- 2 import time 3 import datetime 4 5 def calculate_function_run_time(func): 6 """ 7 Calculate the running time of the functio 阅读全文

posted @ 2020-11-27 19:32 returnes 阅读(68) 评论(0) 推荐(0) 编辑