I'm going mad about creating a module in Python:
Say I'm calling it "my_module"
I've created a folder called "my_module", in which I've put "setup.py" and all the other files required for the installation and manteinance.
Then inside my_module folder I created another folder called, again, my_module, inside of which I put the * init.py file and some other files like foo.py, foo2.py
What I really don't understand is why now I have to call
from my_module.my_module.foo import ...
instead of
from my_module.foo import ...
Does anybody know where am I getting this wrong?