transform python script to jupyter code example
Example 1: convert jupyter notebook to python cmd line
jupyter nbconvert --to script [YOUR_NOTEBOOK].ipynb
Example 2: jupyter notebook convert to script
$ jupyter nbconvert --to script [YOUR_NOTEBOOK].ipynb