Re: to property or function in class object

2007-08-17 Thread Steven Bethard
james_027 wrote: > i am very new to python, not knowing much about good design. I have an > object here for example a Customer object, where I need to retrieve a > info which has a number of lines of code to get it. > > my question is weather what approach should I use? to use the property > which

Re: to property or function in class object

2007-08-17 Thread Steve Holden
james_027 wrote: > hi, > > i am very new to python, not knowing much about good design. I have an > object here for example a Customer object, where I need to retrieve a > info which has a number of lines of code to get it. > > my question is weather what approach should I use? to use the propert

Re: to property or function in class object

2007-08-16 Thread Marc 'BlackJack' Rintsch
On Fri, 17 Aug 2007 02:29:47 +, james_027 wrote: > i am very new to python, not knowing much about good design. I have an > object here for example a Customer object, where I need to retrieve a > info which has a number of lines of code to get it. > > my question is weather what approach shou

to property or function in class object

2007-08-16 Thread james_027
hi, i am very new to python, not knowing much about good design. I have an object here for example a Customer object, where I need to retrieve a info which has a number of lines of code to get it. my question is weather what approach should I use? to use the property which is from the python new