A Dissabte 26 Agost 2006 13:42, Bill Baxter va escriure:
> On 8/26/06, Francesc Altet <[EMAIL PROTECTED]> wrote:
> > I'm personally an addict to encapsulate as much functionality as possible
> > in
> > methods (but perhaps I'm biased by an insane use of TAB in ipython
> > console).
>
> You can still get tab completion for functions:  numpy.<TAB>
> Even if it's your custom to "from numpy import *" you can still also do an
> "import numpy" or "import numpy as N".

Yep, you are right. It is just that I tend to do that on the objects that I 
manipulate and not with first-level functions in packages.

Anyway, I think that I see now that these routines should not be methods 
because they modify the *actual* data on ndarrays.

Sorry for the disgression,

-- 
>0,0<   Francesc Altet     http://www.carabos.com/
V   V   Cárabos Coop. V.   Enjoy Data
 "-"

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to