Jupyter notebook run all cells on open

后端 未结 3 622
猫巷女王i
猫巷女王i 2020-12-08 05:57

I have a Jupyter noteboook and I\'m trying to set it up in a way so that all cells are ran automatically when the notebook is opened.

This behaviour is different from

3条回答
  •  不知归路
    2020-12-08 06:07

    I just found a way to do this quite easily. If you install the nbextensions package (https://github.com/ipython-contrib/jupyter_contrib_nbextensions), one of the extensions is called "Initialization cells" and allows you to mark certain cells to run automatically when the notebook is loaded.

提交回复
热议问题