osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Import module from a different subdirectory


On Fri, 17 May 2019, Inada Naoki wrote:

> This is slightly off topic (not relating to your problem), but please
> don't think "Python 3 doesn't require __init__.py for packages". It is
> common misunderstanding.

Inada,

Actually, your response is on topic and probably the reason I have the
import problem.

> Package directory without __init__.py is "namespace package".
> Namespace package is not a regular package.  See [1] for detail.

Thank you for correcting me.

Regards,

Rich