How to convert IPython notebooks to PDF and HTML?

前端 未结 18 1381
有刺的猬
有刺的猬 2020-12-12 10:49

I want to convert my ipython-notebooks to print them, or simply send them in html format. I have noticed that there exists a tool to do that already, nbconvert. Although I h

18条回答
  •  天涯浪人
    2020-12-12 11:21

    I've been searching for a way to save notebooks as html, since whenever I try to download as html with my new Jupyter installation, I always get a 500 : Internal Server Error The error was: nbconvert failed: validate() got an unexpected keyword argument 'relax_add_props' error. Oddly enough, I've found that downloading as html is as simple as:

    1. Left click in the notebook
    2. Click 'Save As...' in the dropdown menu
    3. Save accordingly

    No print preview, no print, no nbconvert. Using Jupyter Version: 1.0.0. Just a suggestion to try (obviously not all setups are the same).

提交回复
热议问题