Directly interacting with python console

Even though jupyter notebook (.pynb) file content is in json, most editors, including GitHub’s online editor allows viewing and editing the actual formatted content. Example online viewers and editors:

Interestingly, a new notebook variant, marimo, uses Python code instead of json as source format. However, I’m not sure if it can run code inside the Python environment in the running Slicer process.

1 Like