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