Jupyter Notebook

7.5.5 · active · verified Sat Mar 28

Jupyter Notebook is a web-based notebook environment for interactive computing, enabling users to create and share documents that contain live code, equations, visualizations, and narrative text. The current stable version is 7.5.5. Version 7 represents a significant architectural shift, building its frontend on JupyterLab components and its backend on Jupyter Server. The project maintains an active release cadence, with frequent patch updates and ongoing development towards future major versions.

Warnings

Install

Quickstart

The primary way to use Jupyter Notebook is by launching its web-based server from the command line, which then opens in your default web browser. You interact with it directly in the browser. Direct Python imports from the `notebook` library to programmatically launch the UI are not a typical workflow; for programmatic interaction with kernels or notebook execution, `jupyter_client` or `nbclient`/`papermill` are often used.

# 1. Start the Jupyter Notebook server from your terminal:
# Navigate to your desired working directory first.
# cd /path/to/your/notebooks
# jupyter notebook

# 2. Once the browser opens, click 'New' -> 'Python 3' to create a new notebook.
# 3. In the first cell, type and run the following Python code:

print('Hello, Jupyter Notebook!')

# Or a more complex example:
import pandas as pd
data = {'col1': [1, 2], 'col2': [3, 4]}
df = pd.DataFrame(data)
print(df)

view raw JSON →