memory_profiler 0.58.0 内存监听 在函数前加上 @profile 在终端输入 python -m memory_profiler 文件名.py python -m memory_profiler 如果觉得文章不错,可以分享给其他人哟~