I have a python program that is entirely contained in a directory with the following structure:
myprog/ ├── __init__.py ├── __main__.py ├── moduleone.py └──
So, having looked at the other responses and not being thrilled, I tried:
from __init__ import *
from my __main__.py file.
__main__.py
I suppose it doesn't allow you to refer to the module by name, but for simple cases it seems to work.