On 6 avr, 11:42, "mgra...@seccuris.com" <mgra...@seccuris.com> wrote:
> To clarify "inter-package dependencies". I'm assuming that you mean a
> setup like the following:
>
> APP/
>     modules/
>        modulea/
>            ...some python files...
>        moduleb/
>            ...some more python files...
>
> If you want to use something from moduleb inside modulea (assuming
> that both have the __init__.py in their directories),
>
> from ..moduleb import * --> or import classA, etc
>
> I use it in several parts of an app that I have, it works just fine.
>

Yes, explicit relative imports are working well.

Reply via email to