I am new to Python. I start learning it with Jupyter notebook. It is very useful to test python code at the same time I can document what I ve learned with markdown supported by jupytor.
Until I started with module/package I noticed that every file ends with ipyhton notebook extension ipynb. I understant that in order for jupyter to have this good looking visualization it has to store some formatting text.
is there any solution to create a raw python file using jupython?
I am ok if I have to install other plugins or scripts to archive this result.
In order to create a python file from an existing notebook (
somenotebook.ipynb), please run
jupyter nbconvert somenotebook.ipynb --to script
This will create