AttributeError : Error Exception : Statement PYTHON TUTORIALS


PYTHON TUTORIALS » Statement » Error Exception »

 

AttributeError


class myClass(object):
      pass
myInst = myClass()
myInst.bar = 'spam'
print myInst.bar
print myInst.foo



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Statement
» Error Exception