Possible Duplicate:
python 'self' explained
For this example:
class HelloWorld:
def index(self):
return "Hello world!"
The self is always passed to the function. What is the self, and why is it required to be passed to functions/methods all the time? Thanks.