I have the following folder structure in my project:
program
|-bin
|-module1
|-check.py
|-module2
|-module3
|-functions.py
|-main.py
I am trying to get the modules located in bin/functions.py
from bin/module1/check.py
with this line:
from bin.functions import X
But for some reason the IDE tells me that it is fine but when I run the check.py it shows me the following error:
ModuleNotFoundError: No module named 'bin'