python中计算程序用时的方法 import time start = time.clock() ...... end = time.clock() print(end - start) 新战场:https://blog.csdn.net/Stephen___Qin