Importing Module in Jupyter Notebook

I am unable to import one .ipynb file as a package into another .ipynb file. In the video, you explained for .py file, but unable to do so for jupyter notebooks. Please advise.

Hey @komal4282,

You can do that by installing the import_ipynb package.

pip install import_ipynb

Suppose you want to import B.ipynb in A.ipynb, you can do as follows:

In A.ipynb:

import import_ipynb
import B as b

Then you may use all the functions of B.ipynb in A.

I hope your doubt is cleared.