In a python class, there are three kinds of methods:
* Instance method
* Static method
* Class method
Example explained
Look at the following code, have a test for yourself, what are the output:
class Foo(object):
variable = 1
def method(self, param):
print "run instance method (%s,%s)" % (self,