pip install ipynb-py-convert
Install ipynb-py-convert. Note use suitable pypi mirrors.
ipynb-py-convert examples/plot.ipynb examples/plot.py
Convert jupyter notebooks to python files
原文:https://www.cnblogs.com/cxxszz/p/12152483.html