Jupyter notebook – Execute from Command Line
A typical command to execute a jupyter notebook from command line:
jupyter nbconvert --to notebook --execute mynotebook.ipynb --output output-name
--to notebook– the output format
--execute– the name of the notebook to be executed
--output– an optional name for the generated file
One question sometimes asked is if it is possible to pass parameters to a jupyter notebook.
- Yes, it is possible, but you need help from
papermill. See my next posts for more details.