when i was coding i used multiple python files that contains inherited classes, then when i wanted to import them to the main python file where we found the mother class it rises an Error:
lets say this is the architecture:
.../myProject/main.py > The main python file "contains the parent Class "
.../myProject/child/... > Where we found the other python files that contains inherited classes
when i tried to import files from .../myProject/child/... to main.py it raises an Error:
ImportError: No module named [Parent class]
after some researches i found a method that solves the problem which is: importing the Parent class's file to the child file but the problem here is that the child file is not in the same path. is there any solutions to that.... or maybe Another Method please and thank you