%load_ext autoreload
%autoreload 2
from notebook_autorun import Autorun
cells = '3,-1'
Autorun(cells=None, metadata=False, comment=True, comment_flag='AUTORUN', focus=-1, verbose=True).add_js()
If you see <IPython.core.display.Javascript object> below, this notebook is not trusted. As a consequence Autorun cannot work. Run "from notebook_autorun import Autorun; Autorun.info()" for more info.
This output cell contains notebook-autorun settings:
{"comment": true, "comment_flag": "AUTORUN", "focus": -1}
# manually executed after previous cell failure and indication
# from notebook_autorun import Autorun; Autorun.info()
# AUTORUN
i = 11; print(i); i += 1
11
print(i); i += 1
print(i); i += 1
# AUTORUN
print(i); i += 1
12
print(i); i += 1