how to convert ipynb to py in pycharm code example Example: convert ipynb to py open the ipynb file in jupyter notebook go to file>download as>py file