'VScode - Import .ipynb File From Another Directory (Macos)
I am trying to import an .ipynb file from another directory.
After trying:
import sys
sys.path.append("../TheOtherFolder")
print(sys.path)
I can see that the required path is added in the "sys.path" successfully.
After trying to import the .ipynb file:
import import_ipynb
import test #this is a .ipynb file
Unfortunately, I still get "ModuleNotFoundError: No module named 'test'"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
