how to convert python script to jupyter notebook code example
Example 1: converting jupyter notebook files to python
pip install ipython
pip install nbconvert
exmaple:
jupyter nbconvert --to python NumPy_Tut.ipynb
Example 2: jupyter notebook convert to script
$ jupyter nbconvert --to script [YOUR_NOTEBOOK].ipynb