What is an object? What is a method?
Object:
Python is an object-oriented programming language. An object is simply a collection of data (variables) and methods (functions) that act on those data. Similarly, a class is a blueprint for that object.
Method:
A method is a function that takes a class instance as its first parameter. Methods are members of classes.
class C:
def method(self, possibly, other, arguments):
pass # do something here
Methods are divided into two types:
1)Bound methods
2)Inbound methods