How do you convert an IPython notebook file (json with .ipynb extension) into a regular .py module?
.ipynb
.py
According to https://ipython.org/ipython-doc/3/notebook/nbconvert.html you are looking for the nbconvert command with the --to script option.
ipython nbconvert notebook.ipynb --to script