.ipynb文件转.py文件

到要转的demo.ipynb所在目录下,然后输入命令: jupyter nbconvert --to script demo.ipynb
原文地址:https://www.cnblogs.com/suizhikuo/p/9945015.html