Issue
I was trying to import functions from one notebook file to another in the most simplest way:
As you can see the files are in the same folder but I still get this error. Does anybody know how to resolve this?
Solution
For example, import funb()
located in b.ipynb
in a.ipynb
.
install module:
pip install ipynb
in
a.ipynb
:import ipynb from ipynb.fs.full.b import funb // ipynb.fs.full.<notebook_name> funb()
See result:
Answered By - Molly Wang-MSFT
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.