How to convert ipynb to Python

How to run an .ipynb Jupyter Notebook from terminal

Panjeh
Apr 22, 2021

First you need to convert the ipynb file to Python:

jupyter nbconvert --to python filename.ipynb

Then run it in Terminal using:

python3 filename.py

--

--