Re: [Tutor] Shared Class Attribute

2007-08-28 Thread Eric Brunson
Ricardo Aráoz wrote: > Eric Brunson wrote: > >> Ricardo Aráoz wrote: >> >>> Hi, >>> >>> >> Hi Ricardo, >> >> In the future, please start a new thread with a new email and not a >> reply to an existing thread. Compliant mail clients thread based on >> headers you may or may not

Re: [Tutor] Shared Class Attribute

2007-08-28 Thread Ricardo Aráoz
Eric Brunson wrote: > Ricardo Aráoz wrote: >> Hi, >> > > Hi Ricardo, > > In the future, please start a new thread with a new email and not a > reply to an existing thread. Compliant mail clients thread based on > headers you may or may not see in your client, and this email is part of > th

Re: [Tutor] Shared Class Attribute

2007-08-28 Thread Eric Brunson
Ricardo Aráoz wrote: > Hi, > Hi Ricardo, In the future, please start a new thread with a new email and not a reply to an existing thread. Compliant mail clients thread based on headers you may or may not see in your client, and this email is part of the thread you replied to called "[Tutor

[Tutor] Shared Class Attribute

2007-08-28 Thread Ricardo Aráoz
Hi, if I have this class : class myClass : ClassCount = 0 def __init__(self) : (here I want to increment ClassCount for the whole class) self.InstanceAttr = 1 How would I increment the shared class attribute (ClassCount) from INSIDE the class? I can do it from the outside