-
Notifications
You must be signed in to change notification settings - Fork 23
Jupyter Notebooks quick start
Negro Michela edited this page Aug 27, 2025
·
2 revisions
This guide shows two great ways to use Jupyter: in your browser (JupyterLab/Notebook server) and inside VS Code. It includes setup, daily workflow, productivity tips, and troubleshooting.
- Kernel: the compute engine (e.g., a Python interpreter) that runs your code.
- Environment: an isolated set of packages + interpreter (conda/mamba/venv/uv).
-
Notebook: a
.ipynbfile with code, text, outputs.
- Open your terminal
- Navigate to the folder where you have a Jupyter Notebook or where you want to create a new one
- Activate the Conda environment you need (for this course it should be
conda activate d2l) - run the following command
jupyter notebook <name_of_the_notebook.ipynb>
Alternatively you can use Jupyter Notebooks in code editors like Visual Studio Code.
- Shift+Enter: run cell; A/B: insert cell above/below; M/Y: markdown/code.
- Use Command Palette (Ctrl/Cmd+Shift+C) to find actions.
- Save frequently (Ctrl/Cmd+S).
Course Instructor: Michela Negro; TA: Mohammad Ali Boroumand