No variables yet. They appear here after a cell runs, and each notebook tab keeps its own.
The Python Notebook runs Jupyter notebooks online, in your browser: open an .ipynb file (or start with an empty one), free and with no sign-up. You write Python 3.14 in cells, run them one at a time or all together, and each cell shows its own output underneath: printed text, pandas tables, Matplotlib charts, formulas and errors. Variables carry over from cell to cell, so you can load data in one cell and explore it in the next. Text cells hold your notes in Markdown.
Python itself is downloaded once and then runs on your device (it is CPython built for WebAssembly, the Pyodide project), so your code and your data files are not sent to a server and there is nothing to install and no account. NumPy, pandas, Matplotlib, SciPy, scikit-learn and SymPy load the first time a cell imports them. The page opens and saves .ipynb files, so a notebook moves between here, Jupyter, VS Code and Colab.
Add code cells and text cells. A code cell is Python; a text cell is Markdown, with maths between dollar signs.
Shift + Enter runs a cell and moves to the next one; Run all runs every code cell from the top. Variables carry over from cell to cell.
Printed text, tables, charts and errors appear under the cell that produced them, in the order Python produced them.
Upload files in the Files panel and read them by name. A package downloads the first time a cell imports it.
The notebook is saved in this browser as you work. Download gives an .ipynb file, and Share creates a separate snapshot link.
On a desktop every code cell is a Monaco editor, the engine behind VS Code, with the same completions, settings and keyboard controls as the Python compiler. Phones get a lighter editor.
A notebook is a list of cells. A code cell holds Python; a text cell holds Markdown. Add one with the Code and Text buttons under the last cell, or between two cells where the line appears on hover.
The buttons on the selected cell move it up or down, change it between code and text, and delete it. A deleted cell comes back with Undo. On a desktop a cell can also be dragged by the handle at its left; a line shows where it will land.
The "..." button has the rest: run all cells above, run this cell and all below, duplicate the cell, merge it with the cell below, and hide its code or its output. A hidden part leaves one line that brings it back, and stays hidden in the .ipynb file and in the web page export.
Jupyter’s keys work: press Esc to leave a cell’s editor (Shift + Esc with the Vim keymap), then A or B adds a cell above or below, D twice deletes the cell, M and Y turn it into text or code, the arrows or K and J move between cells, Z undoes, and Enter goes back into the editor. The Shortcuts tab lists them all.
Double-click a text cell (or press Enter on it) to edit it; Shift + Enter shows the formatted text again. Maths goes between dollar signs: $x^2$ in a line, $$...$$ on its own line.
Ctrl/Cmd + Enter runs the cell you are in. Shift + Enter runs it and moves to the next cell, adding one when it is the last. Run all (Ctrl/Cmd + Shift + Enter) runs every code cell from the top and stops at the first error.
The number beside a cell is the order it ran in; [*] means it is running. Cells run one at a time, and the others wait their turn.
Stop restarts Python. Restart Python clears the variables and keeps the outputs; Restart Python and run all gives a clean run from the top.
On a desktop the editor completes from what the notebook has run: after df. the columns and methods of that DataFrame, after df[" its column names, after np. or pd. the members of the module. Run the cell that makes a variable first; nothing is suggested from Python while a cell is running.
The value of a cell’s last line is shown under it, like in Jupyter. A DataFrame is shown as a table (up to 200 rows by 40 columns; longer ones show the first and last rows), a Matplotlib figure as an image, a SymPy result as a formula.
A cell can show several things: print(), display() and plt.show() appear in the order they ran. plotly, altair, bokeh and folium output is drawn inside a sandboxed frame.
An error shows the traceback for your own cells with a link to the failing line, and a hint when the fix is known (a missing package, a blocked download).
Each output has its own buttons, shown when the pointer is on it (above it on a phone): copy the text, save a figure as an image, save a table as CSV with all its rows. Click a column header to sort a table; a table shown only in part cannot be sorted.
The panel on the left has three tabs. Variables lists what the notebook has defined, with the ones the last run changed marked. Click any row to see the whole value: a list, dict or object opens level by level, a function shows its signature and help, and a DataFrame, Series or NumPy array opens as a table in a dialog.
Files holds your data files (up to 10 MB each) and the files your code writes. Read a file by its name.
Packages lists what is loaded and takes a package name to add one by hand. Importing a package in a cell does the same.
Each tab above the cells is one notebook with its own variables (up to 12 notebooks, 300 cells each). The plus button adds one; double-click a tab or press F2 to rename it; right-click for Duplicate and Delete.
Run and Run all act on the open tab only.
Ctrl/Cmd + F (or the magnifier above the cells) finds text in every cell of the open notebook and can replace it, one match or all at once; Enter goes to the next match, Shift + Enter to the one before. Outputs are not searched.
Work is saved in this browser automatically; the status bar says so. Undo and Redo above the cells cover cells, their text and the notebook tabs.
The folder button opens an .ipynb file as a new tab, and so does dropping the file on the page. The link button next to it opens a public notebook from a GitHub or gist link. Download in the header saves the open notebook as .ipynb with its outputs; the arrow beside it saves a Python script (.py) or a web page (.html).
Share makes a link to a snapshot that lasts 30 days.