I have a project with the following hierarchy and I am trying to use a class defined in the file Student.py
in the file webcam_classifier.py
. I do so like this:
from .Student import Student
However, I get the following error:
ModuleNotFoundError: No module named '__main__.Student'; '__main__' is not a package
I'm not sure what I'm doing wrong. Any help is appreciated!!!