module confusion
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Tue Oct 2 02:43:56 EDT 2007
On Tue, 02 Oct 2007 19:34:29 +1300, Lawrence D'Oliveiro wrote:
> In message <mailman.1379.1191301581.2658.python-list at python.org>, Robert
> Kern wrote:
>
>> Not all of the modules in a package are imported by importing the
>> top-level package.
>
> You can't import packages, only modules.
Oh come on, this is unnecessary nitpicking. Importing the module
`__init__` from a package using the name of the package is close enough to
justify the phrase "I import the package" IMHO.
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list