输入命令 pip install line_profiler 来安装line_profiler。 用修饰器(@profile)标记选中的函数。用kernprof.py脚本运行你的代码,被选函数每一行花费 ...
確定! 回上一頁