.ipynb直接转成.py 1.打开含有.ipynb的文件夹,在目录上点击,输入cmd 2.输入 jupyter nbconvert --to script *.ipynb 不用修改直接回车 3.当前目录下多了一个.py文件