convert python notebook to script code example Example: jupyter notebook convert to script $ jupyter nbconvert --to script [YOUR_NOTEBOOK].ipynb