.ipynb
) on your file systemIf you cd to a Notebook directory and type:
jupyter notebook
you will see the Notebooks in that directory in the dashboard
Notebook files:
.ipynb
) on your file systemimport nbformat
with open('Notebook Basics.ipynb') as f:
nb = nbformat.v4.reads_json(f.read())
nb.cells[0:5]
IPython Notebooks can also be exported to .py
files (see "File:Download As" menu item). You can tell the Notebook server to always save these .py
files alongside the .ipynb
files by starting the Notebook as:
ipython notebook --script
You can import Notebooks from the main Dashboard or simply by copying a Notebook into the Notebook directory.
Shift-Enter
to run a cellCtrl-Enter
to run a cell in placeCtrl-m ?
Ctrl-m h