From: Francesc A. <fa...@ca...> - 2006-08-26 21:00:59
|
A Dissabte 26 Agost 2006 13:42, Bill Baxter va escriure: > On 8/26/06, Francesc Altet <fa...@ca...> wrote: > > I'm personally an addict to encapsulate as much functionality as possib= le > > 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= =20 manipulate and not with first-level functions in packages. Anyway, I think that I see now that these routines should not be methods=20 because they modify the *actual* data on ndarrays. Sorry for the disgression, =2D-=20 >0,0< Francesc Altet =C2=A0 =C2=A0 http://www.carabos.com/ V V C=C3=A1rabos Coop. V. =C2=A0=C2=A0Enjoy Data "-" |