Re: visibility between modules

2005-04-09 Thread Mike Meyer
"max(01)*" <[EMAIL PROTECTED]> writes: > hi. > > if i have a single program file, different class instances can share > information in (at least) two fashions: > > 1. using instance variables: > > class AClass: >def __init__(self): > self.att_1 = 42 > self.att_2 = "Hello!" > > class

visibility between modules

2005-04-09 Thread max(01)*
hi. if i have a single program file, different class instances can share information in (at least) two fashions: 1. using instance variables: class AClass: def __init__(self): self.att_1 = 42 self.att_2 = "Hello!" class AnotherClass: def __init__(self): self.att_1 = anInstanceOfAC