I want to have a hierarchy that looks like this (and it has to look like this)
main_folder\
    main.py
    domain_sub_directory\
        __init__.py
        domain.py
    ui_sub_direcotory\
        __init__.py
        menu.py
I need to activate ui.py frome main.py but then acces domain.py from menu.py. How can I do that ?
I did this in main:
    import ui_sub_directory.ui
This in ui:
    import domain_sub_directory.domain
But the UI module does not see the domain module.
What am I doing wrong ?
BTW do I need to also import the class I'm working with ? and what is the difference between this and:
from x import y 
?
* Edit * for those who don't understand I want to import from:
folder1 /folder2 /folder3 /module1 
I want to import this:
folder1 /folder2 /module2
 
     
    