[Numpy-discussion] packaging scipy (was Re: Simple financial functions for NumPy)
Charles R Harris
charlesr.harris at gmail.com
Wed Apr 9 19:11:58 EDT 2008
On Wed, Apr 9, 2008 at 4:57 PM, Jarrod Millman <millman at berkeley.edu> wrote:
> On Wed, Apr 9, 2008 at 11:27 AM, Christopher Barker
> <Chris.Barker at noaa.gov> wrote:
> > except that the beginner, nor anyone else, should ever use "import *"
> > anyway!
>
> +1
>
> > "Namespaces are one honking great idea -- let's do more of those!"
> >
> > That's "more", not "fewer"
>
> Agreed.
>
> > I really don't get the reluctance -- EVERY major package I've worked
> > with has moved AWAY from "import *" (numpy, wxPython, matplotlib, ...).
> > We should never, never, recommend it to beginners. Period. And it would
> > be very nice to use a standard. I use "import numpy as N", but would be
> > quite happy to use "np" or "nx", or anything else short that becomes a
> > standard.
>
> Absolutely. Let's please standardize on:
> import numpy as np
> import scipy as sp
import numpy.linalg as la ?
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080409/37887aa7/attachment.html>
More information about the NumPy-Discussion
mailing list