Thanks goes to these wonderful people (emoji key):
Vitor Junior 💻 |
On a Python program:
from ipynb_converter import ipynb_converter
file_path = "jupyter_notebook.ipynb"
save_name = "python_file.py" #optional
ipynb_converter(file_path, save_name)
On command line:
py -m ipynb_converter "jupyter_notebook.ipynb" "python_file.py"
or
py -m ipynb_converter "jupyter_notebook.ipynb"
This project follows the all-contributors specification. Contributions of any kind welcome!