目录 测试代码某一个模块的运行时间 测试代码某一个模块的运行时间 import time t_start = time.clock() #测试模块 t_end = time.clock() run_time = t_end - t_start print(run_time)