[SciPy-User] (pas de sujet)

Renato Fabbri renato.fabbri at gmail.com
Fri Apr 1 16:03:17 EDT 2011


2011/4/1 Robert Kern <robert.kern at gmail.com>:
> On Fri, Apr 1, 2011 at 14:33, Christopher Barker <Chris.Barker at noaa.gov> wrote:
>
>> I'm not sure if:
>>
>> import scipy as sp
>>
>> is as common, but it seems reasonable to me.
>
> It's utterly useless since the scipy subpackages aren't imported along
> with it. Don't do it.

yeah. why does that happen?

i mean, when I do import scipy ("as s" if preferred) I can't reach a bunch
of subpackages. I need to do:

from scipy import *
or
from scipy import subpackage

to reach the subpackage. Why is that?

best,
rf

>
> --
> 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
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>



-- 
GNU/Linux User #479299
skype: fabbri.renato



More information about the SciPy-User mailing list