My code grows longer and I am now working for making a package out of my modules.
I have a little question:
when i try to import sibling packages it fails.
from mypackage import module and
import mypackage don't function where we use folders' names. but
from module import method/class has always worked.
mypackage/ test/ test.py bacaci/ __init__.py bacaci.py
I want to import
bacaci.py from a script in a sibling
I read all the posts concerning packaging modules but my problem seems to be less apparent. I didn't come across anybody facing it.
I don't know why questions already answered failed to solve my problem. Thank you for helping me.