[Numpy-discussion] Adding the new polynomial/chebyshev modules.

Robert Kern robert.kern@gmail....
Mon Nov 16 18:14:37 CST 2009


On Mon, Nov 16, 2009 at 18:05, Christopher Barker <Chris.Barker@noaa.gov> wrote:
> Charles R Harris wrote:
>> That's what I ended up doing. You still need to do "import
>> numpy.polynomial" to get to them, they aren't automatically imported
>> into the numpy namespace.
>
> good start. This brings up a semi-off-topic question:
>
> Is there a way to avoid importing everything when importing a module
> deep in a big package?

The package authors need to keep the __init__.py files clear. There is
nothing you can do as a user.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco


More information about the NumPy-Discussion mailing list