How to run an .ipynb Jupyter Notebook from terminal?

nbconvert allows you to run notebooks with the –execute flag: jupyter nbconvert –execute <notebook> If you want to run a notebook and produce a new notebook, you can add –to notebook: jupyter nbconvert –execute –to notebook <notebook> Or if you want to replace the existing notebook with the new output: jupyter nbconvert –execute –to notebook … Read more