Jupyter magic to handle notebook exceptions

前端 未结 5 675
北恋
北恋 2020-12-16 11:22

I have a few long-running experiments in my Jupyter Notebooks. Because I don\'t know when they will finish, I add an email function to the last cell of the notebook, so I au

5条回答
  •  北海茫月
    2020-12-16 12:12

    I don't think there is an out-of-the-box way to do that not using a try..except statement in your cells. AFAIK a 4 years old issue mentions this, but is still in open status.

    However, the runtools extension may do the trick.

提交回复
热议问题