Running a Jupyter notebook from the command line
Published in
Nov 10, 2020
Originally published at http://www.ds4n6.io.
If you need to execute a notebook from the command line (e.g. if you are automating the execution of multiple notebooks or generating a pdf of the output), just run:
jupyter nbconvert --to notebook --execute test.ipynb