Jupyter · Convert and automate

Convert to a Python script

Export the code cells as a .py file.

jupyter nbconvert --to script notebook.ipynb

Official Jupyter documentation

More convert and automate commands

All convert and automate commands · Jupyter cheatsheet

Was this page helpful?