#!/usr/bin/env python
# coding: utf-8
# An Exception was encountered at 'In [2]'.
# test error handling when running on command line + API per time delay
# https://stackoverflow.com/q/78668628/8508004
# https://discourse.jupyter.org/t/auto-save-periodically-during-nbconvert/17361/2?u=fomightez
# https://discourse.jupyter.org/t/run-ipynb-on-a-remote-workstation-so-that-all-results-will-be-save-in-the-same-pynb/13340/2?u=fomightez
# [save every second](https://stackoverflow.com/a/75316929/8508004) using api
# In[1]:
print(2+2)
# Execution using papermill encountered an exception here and stopped:
# In[2]:
print(
# In[ ]:
4 + 4
# In[ ]:
5 +5