I've found lots of similar questions, but I think that my case is special one. I have following arrangement of files:
|main.py
|main
    |--__init__.py
What I need is to import some class to main.py from __init__.py.
Thanks for help.
I've found lots of similar questions, but I think that my case is special one. I have following arrangement of files:
|main.py
|main
    |--__init__.py
What I need is to import some class to main.py from __init__.py.
Thanks for help.
 
    
    maybe this would be helpful for you:
from main.__init__ import classname
this worked for me
