"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
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