Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Notebook, kernel, and environment

Learning goal

Distinguish between

The notebook interface is where you write code and Markdown; run cells and see outputs. The kernel is the process that executes code. For example:

The kernel also holds the current computational state, such as variables that have already been created.

The environment contains the installed software available to the kernel, such as:

Note Two kernels can both run Python but use different Python environments. For example:

So changing a kernel can change:

  1. the programming language;

  2. the software environment;

  3. or both.