The Jupyter Notebook is an interactive computing environment that enables users to author notebook documents that include:
These documents provide a complete and self-contained record of a computation that can be converted to various formats and shared with others using email, Dropbox, version control systems (like git/GitHub) or nbviewer.jupyter.org.
Through Jupyter's kernel and messaging architecture, the Notebook allows code to be run in a range of different programming languages. For each notebook document that a user opens, the web application starts a kernel that runs the code for that notebook. There are kernels available in the following languages:
Notebooks consist of a linear sequence of cells. There are three basic cell types:
Internally, notebook documents are JSON data with binary values base64 encoded. This allows them to be read and manipulated programmatically by any programming language. Because JSON is a text format, notebook documents are version control friendly.
Tip: shift + enter to run a cell!
# Write code and execute it, produce text output
print("This is code!")
# Display an image
from IPython.display import Image
Image(filename='images/cern-logo.png')
import ipywidgets as widgets
widgets.Dropdown(
options=['1', '2', '3'],
value='2',
description='Number:',
disabled=False,
)
Write formatted markdown text
For more information, please visit: https://jupyter-notebook.readthedocs.io
Notebook examples available at: https://github.com/jupyter/jupyter/wiki/A-gallery-of-interesting-Jupyter-Notebooks