https://www.cnblogs.com/stumpx/p/16555127.html
-
python计算耗时,可多次获取耗时
定义 consoleTimeDict = {“默认”: 0} def consoleTime(key=”默认”): timeStart = time.time() consoleT…
定义 consoleTimeDict = {“默认”: 0} def consoleTime(key=”默认”): timeStart = time.time() consoleT…