方法函数区别
class Foo(object): def fench(self): pass Foo.fench() #函数 obj = Foo() #实例化 obj.fench() #方法
对于一个类里面的东西到底是函数还是方法取决于谁调用