Running an IPython/Jupyter notebook non-interactively

前端 未结 5 2141
予麋鹿
予麋鹿 2020-12-22 16:55

Does anyone know if it is possible to run an IPython/Jupyter notebook non-interactively from the command line and have the resulting .ipynb file saved with the

5条回答
  •  [愿得一人]
    2020-12-22 17:23

    Run and replace original .ipunb file:

    jupyter nbconvert --ExecutePreprocessor.timeout=-1 --to notebook --inplace --execute original.ipynb
    

提交回复
热议问题