Stéphane Ninin wrote:
> Also sprach Stéphane Ninin :
Sollte es denn möglich sein! Dieser alte Heilige hat in seinem Walde noch
Nichts davon gehört... that intra-package import takes precedence over
absolute import!
> Here is the basic structure of the code (I have reduced it first).
And nicely
Stéphane Ninin wrote:
> Traceback (most recent call last):
> File "main.py", line 8, in ?
> main()
> File "main.py", line 5, in main
> handler = HandlerFactory().makeHandler(command)
> File "c:\ROOT\Handlers\HandlerFactory.py", line 6, in HandlerFactory
> import Handlers.Default.H
Also sprach Stéphane Ninin :
>
>
> ... when I start main.py, I get:
>
> Traceback (most recent call last):
> File "main.py", line 8, in ?
> main()
> File "main.py", line 5, in main
> handler = HandlerFactory().makeHandler(command)
> File "c:\ROOT\Handlers\HandlerFactory.py", line
Hello all,
I have an ImportError problem, which is probably correct,
but I do not understand it. And how to fix it...
Here is the basic structure of the code (I have reduced it first).
ROOT:
/main.py
/Handlers/__init__.py (empty)
/Handlers/Handlers.py
/Handlers/HandlerFactory.py