Converting notebooks
The standard tool for converting notebooks to other formats is the nbconvert
utility. It is built-in to your Jupyter installation. You can access the tool directly in the user interface for your notebook. If you open a notebook, select the Jupyter File menu item, and you will see several options for Download as:
The choices are as follows:
Format type |
File extension |
Notebook |
|
JavaScript |
|
HTML |
|
Markdown |
|
Restructured text |
|
|
|
For these examples, if we take a notebook from a previous chapter, the Jupyter Notebook looks like this:
Notebook format
The notebook format (IPYNB) is the native format for your notebook. We have looked into this IPYNB file in earlier chapters to see what Jupyter is storing for your notebook.
You would use the notebook format if you wanted to give another user complete access to your notebook since they would run your notebook from their system.
You may also want to do this to save your notebook...