Example2#

This should be the first cell displayed, two previous cells have been discarded by the offset provided to the NotebookDirective.

print('hello world')
hello world

The default ipython_startup script executed before each notebook removes warnings, let’s check that.

import warnings

warnings.warn('Test')
This web page was generated from a Jupyter notebook and not all interactivity will work on this website. Right click to download and run locally for full Python-backed interactivity.

The notebook content should be injected between the title and here.

Right click to download this notebook from GitHub.