ipynb 文件转 py

前言

  好多机器学习的文件都是ipynb的格式,如果想用其他编辑器的需要转为py的格式

命令:  

jupyter nbconvert --to script  *.ipynb 

 jupyter:

pip3 install jupyter

 启用编辑器:

jupyter notebook

  

 

猜你喜欢

转载自www.cnblogs.com/KyleXu/p/10003978.html