Sign in

How to import an ipynb from another ipynb file in jupyter note book??

Let’s install

!pip install ipynb

Then,

from ipynb.fs.full. File_name import *

Make sure that every file is in same directory

Also, if you would like to import only class & function definitions from a notebook (and not the top level statements), you can use ipynb.fs.defs instead of ipynb.fs.full.

Done…