I am getting "ModuleNotFoundError" when importing a python file.PFB the code:
testImport.ipynb
feet_in_miles=5280
meters_in_kilometer=1000
beatles=["John Lenon","PAul McCartney",""]
Modules.ipynb:
import testImport
print(testImport.beatles)
On running Modules.ipynb, I am getting the below error:
ModuleNotFoundError Traceback (most recent call last) in ()
----> 1 import testImport
2 print(testImport.beatles)
ModuleNotFoundError: No module named 'testImport'
Kindly let me know what's the issue.