(answering to the OP)
Piyush Anonymous wrote:
i wrote this code
--
class Person(object):
instancesCount = 0
def __init__(self, title=):
Person.instancesCount += 1
self.id http://self.id = tempst
def testprint(self):
print blah blah
def
i wrote this code
--
class Person(object):
instancesCount = 0
def __init__(self, title=):
Person.instancesCount += 1
self.id = tempst
def testprint(self):
print blah blah
def __getattribute__(self, name):
print in get attribute
a = Person()
Piyush Anonymous wrote:
i wrote this code
--
class Person(object):
instancesCount = 0
def __init__(self, title=):
Person.instancesCount += 1
self.id http://self.id = tempst
def testprint(self):
print blah blah
def __getattribute__(self, name):