Converta o notebook Jupyter em Python CMD Line
jupyter nbconvert --to script [YOUR_NOTEBOOK].ipynb
Magnificent Moth
jupyter nbconvert --to script [YOUR_NOTEBOOK].ipynb
$ jupyter nbconvert --to script [YOUR_NOTEBOOK].ipynb
!jupyter nbconvert --to script config_template.ipynb
# credit to Stack Overflow user in the source link
# shell command or ! + command in ipython
jupyter nbconvert --to script [YOUR_NOTEBOOK].ipynb