nbconvert
首先我们需要安装ipython 和 nbconvert 库
- pip install ipython
- pip install nbconvert
ipynb -> py
single file:
- ipython nbconvert — to script test.ipynb
multi files:
- ipython nbconvert — to script test1.ipynb test2.ipynb
ipynb -> html
- jupyter nbconvert –to html notebook.ipynb
or - jupyter nbconvert –to html –template basic/full notebook.ipynb
ipynb -> md
- jupyter nbconvert –to md notebook.ipynb
ipynb -> pdf
- jupyter nbconvert –to pdf notebook.ipynb
如果错了可以试一试安装下面这个包,大小1G多,所以还是算了吧
~~ + sudo apt-get install texlive-full ~~