Re: [Tutor] Some question about OO practice

2007-11-04 Thread Kent Johnson
John wrote: > Thanks, > > One last question (okay, one MORE question ;) ) when you call a > method/function with optionaly *args **kwargs, I'm finding I need to > make the statement like; > > def myFunc(self, *args,**kwargs): > do something > > > In ord to pass the kwargs: > myFunc(**kw

Re: [Tutor] Some question about OO practice

2007-11-04 Thread John
Thanks, One last question (okay, one MORE question ;) ) when you call a method/function with optionaly *args **kwargs, I'm finding I need to make the statement like; def myFunc(self, *args,**kwargs): do something In ord to pass the kwargs: myFunc(**kwargs) # where kwargs is a dictionary or f

Re: [Tutor] Some question about OO practice

2007-11-04 Thread Kent Johnson
John wrote: > I've now written my first set of Classes to do some fairly specific > processing for work I do. I have a few questions. > > First, in looking through what I've done, I basically just incorporated > all my previous scripts into classes... they are still highly specific > to my app

Re: [Tutor] Some question about OO practice

2007-11-04 Thread Alan Gauld
"John" <[EMAIL PROTECTED]> wrote > I've now written my first set of Classes to do some fairly specific > processing for work I do. I have a few questions. > > First, in looking through what I've done, I basically just > incorporated all > my previous scripts into classes... they are still highly

[Tutor] Some question about OO practice

2007-11-04 Thread John
I've now written my first set of Classes to do some fairly specific processing for work I do. I have a few questions. First, in looking through what I've done, I basically just incorporated all my previous scripts into classes... they are still highly specific to my application, though I did try t