I've the following hierarchy:
.root
/program/main.py
/functions/myfunctions.py
And using my main.py I want to use the functions present in myfunctions.py script. For that I've defined my PYTHONPATH AS ./root/functions and I have this as the import on my script:
from functions import myfunctions as func
But I'm getting this error:
ModuleNotFoundError: No module named 'functions'
How can I solve this?
Thanks