[SciPy-User] (pas de sujet)

Ralf Gommers ralf.gommers at googlemail.com
Fri Apr 1 16:02:55 EDT 2011


On Fri, Apr 1, 2011 at 9:59 PM, Robert Kern <robert.kern at gmail.com> wrote:
> 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.

Our docs disagree:
https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt

It still saves a few characters writing "sp.linalg.xxx" instead of
"scipy.linalg.xxx".

Ralf



More information about the SciPy-User mailing list