I can\'t figure out what\'s wrong with this very simple snippet:
class A(object): def printme(self): print \"A\" self.printm
if you want to print something when you instantiate the object use:
class A(object): def __init__(self): self.printme() def printme(self): print "A" a = A()