I have a file I.py
and X.py
both are custom modules
I'm trying to do an import
from X.py
file like:
from myapp.I import Int
But, when I try to run in shell, it throws an import error of:
ImportError: No module named myapp.I
X.py is in a subdir of I.py
X.py is in: myapp/a/x.py
I.py is in: myapp/
what am I doing wrong? Sorry this is slightly basic, it seems so trivial, but I can't seem to get it to work.
Thank you.