<br><br><div class="gmail_quote">On Wed, Apr 9, 2008 at 4:57 PM, Jarrod Millman <<a href="mailto:millman@berkeley.edu">millman@berkeley.edu</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Wed, Apr 9, 2008 at 11:27 AM, Christopher Barker<br>
<<a href="mailto:Chris.Barker@noaa.gov">Chris.Barker@noaa.gov</a>> wrote:<br>
> except that the beginner, nor anyone else, should ever use "import *"<br>
> anyway!<br>
<br>
</div>+1<br>
<div class="Ih2E3d"><br>
> "Namespaces are one honking great idea -- let's do more of those!"<br>
><br>
> That's "more", not "fewer"<br>
<br>
</div>Agreed.<br>
<div class="Ih2E3d"><br>
> I really don't get the reluctance -- EVERY major package I've worked<br>
> with has moved AWAY from "import *" (numpy, wxPython, matplotlib, ...).<br>
> We should never, never, recommend it to beginners. Period. And it would<br>
> be very nice to use a standard. I use "import numpy as N", but would be<br>
> quite happy to use "np" or "nx", or anything else short that becomes a<br>
> standard.<br>
<br>
</div>Absolutely. Let's please standardize on:<br>
import numpy as np<br>
import scipy as sp</blockquote><div><br>import numpy.linalg as la ?<br><br>Chuck <br></div><br></div><br>