importing

Ian Kelly ian.g.kelly at gmail.com
Mon Mar 7 12:39:58 EST 2016


On Mon, Mar 7, 2016 at 10:23 AM, Tony van der Hoff <tony at vanderhoff.org> wrote:
> However, more generally, how am I supposed to know that a module is part of
> a package, and needs a "magic" stanza to get a module loaded?

If the import path of the module has a dot in it, then it's part of a package.



More information about the Python-list mailing list