I have a project having the structure
/example
../prediction
....__init__.py
....a.py
PYTHONPATH is pointed to /example
now I open the python in terminal and type
import prediction
it succeeded, but if I type
import prediction.a
it returns error
ImportError: No module named 'prediction.a'; 'prediction' is not a package
why is that? isn't that already imported as a package