I have a project that is structured as below:
folderA
|
-> classA.py
-> classB.py
-> __init__.py
-> folderB
|
-> test.py
I need to import classA in test.py and it doesn't work.
I've tried the following
from folderA import classA. This throws an error sayingNo module named folderAfrom ...folderA import classA. This results inattempted relative import with no known parent package
Can anyone help me in solving this problem?
Thanks!