Notebook files:
.ipynb
) on your file systemimport IPython.nbformat as ipnbf
with open('enviroment.ipynb') as f:
nb = ipnbf.read(f, as_version=4)
nb.cells[0:3]
[{'cell_type': 'markdown', 'metadata': {}, 'source': '# Jupyter Enviroment'}, {'cell_type': 'markdown', 'metadata': {}, 'source': '# Basics'}, {'cell_type': 'markdown', 'metadata': {}, 'source': '* Ipython vs Python\n* How to start a notebook: _ipython notebook_\n* Main page: \n * Files \n * Running \n * Clusters \n* Functions of the index page: create, run, shutdown and delete a notebook\n* Automatic saves and checkpoints (Version Control)\n* Ipython is organized in cells\n* Types: Code, Markdown, Raw, Heading (deprecated)\n* Keyboard shortcuts ~ vi: **EDIT mode** <Esc> and **COMMAND mode** <enter>'}]