1、使用pip安装jupyter cmd 中 输入 pip install jupyter命令 2、cd 到ipynb文件路径 3、使用命令 jupyter nbconvert --to script *.ipynb