Notebook
A page of code cells you run one at a time, each with its output below, mixed with text cells; saved as an .ipynb file.
Data work and AI experiments often happen in notebooks (Jupyter, or Google Colab in the browser) rather than in
.pyfiles. A notebook is a page of cells: code cells you run one at a time, each showing its output underneath, and text cells written in Markdown for notes and explanations. The academy's free lessons are published as notebooks too.
Try it now
The same commands work in a real terminal. Watch the prompt change when the environment is active.
Learn it properly
Python on your own computer · Install Python and VS Code, make a virtual environment, then run, debug and test a project. About 45 minutes.
Other terms from the same lesson
- breakpoint: A marked line where a debugger pauses the program, so you can look at its variables and step forward.
- Jupyter: The open-source tool for notebooks: it runs a Python kernel behind a page of cells, in the browser or in an editor like VS Code.
Never trained an AI?
Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.