getipynb is a python module which aims to solve the very common problem of opening .py files in jupyter notebook in an executable form. It ends the problem of copy and pasting the whole of your .py code into the jupyter notebooks.
Python (>= v3.7)
The easiest way to install is by using pip
:
pip install getipynb
To use it, open the python terminal and type:
from ipack import getipynb
And then:
getipynb.convert(file_address)
It will create the jupyter equivalent notebook in the same directory.