Possible Duplicate:
Class method differences in Python: bound, unbound and static
class A:
    def foo():
        print 'hello world'
    def foo1(self):
        self.foo()
a = A()
a.foo1()
I was looking at using some function which was private to that class. I suppose the only way for that is to go by convention: prefixing an '_' in front of that function name, and still having the first argument as self
But is foo() completely useless?
 
     
     
     
    