Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #104235 > unrolled thread

Re: importing

Started byIan Kelly <ian.g.kelly@gmail.com>
First post2016-03-07 10:39 -0700
Last post2016-03-07 10:39 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: importing Ian Kelly <ian.g.kelly@gmail.com> - 2016-03-07 10:39 -0700

#104235 — Re: importing

FromIan Kelly <ian.g.kelly@gmail.com>
Date2016-03-07 10:39 -0700
SubjectRe: importing
Message-ID<mailman.36.1457372441.10335.python-list@python.org>
On Mon, Mar 7, 2016 at 10:23 AM, Tony van der Hoff <tony@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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web