Re: newbie OO question

2006-04-20 Thread Lawrence D'Oliveiro
In article <[EMAIL PROTECTED]>, Jeremy Winters <[EMAIL PROTECTED]> wrote: from SegmentValue import * I remember in the old days a computing support guy saying he refused to help any users with FORTRAN questions unless they had an "IMPLICIT NONE" in every program block. The corresponding

Re: newbie OO question

2006-04-20 Thread Larry Bates
Jeremy Winters wrote: > class SegmentValue: > def > __init__(self,seg=[0,0,0,0,0,0],value=0,description=""): > self.segment=seg > self.value=value > self.description=description > > #that's my class! note the default of a 6 item list > for the seg pa

Re: newbie OO question

2006-04-20 Thread lukasz . ciesnik
Jeremy Winters napisal(a): > class SegmentValue: > def > __init__(self,seg=[0,0,0,0,0,0],value=0,description=""): > self.segment=seg > self.value=value > self.description=description > > #that's my class! note the default of a 6 item list > for the s