It's a function which is a member of a class:

class C:
    def my_method(self):
        print("I am a C")

c = C()
c.my_method()  # Prints("I am a C")

Simple as that!

(There are also some alternative kinds of method, allowing you to control the relationship between the class and the function. But I'm guessing from your question that you're not asking about that, but rather just the basics.)

๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ python_lists_methods.asp
Python - List Methods
Python has a set of built-in methods that you can use on lists.
Top answer
1 of 9
109

It's a function which is a member of a class:

class C:
    def my_method(self):
        print("I am a C")

c = C()
c.my_method()  # Prints("I am a C")

Simple as that!

(There are also some alternative kinds of method, allowing you to control the relationship between the class and the function. But I'm guessing from your question that you're not asking about that, but rather just the basics.)

2 of 9
48

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

As you wanted to know what it specifically means in Python, one can distinguish between bound and unbound methods. In Python, all functions (and as such also methods) are objects which can be passed around and "played with". So the difference between unbound and bound methods is:

1) Bound methods

# Create an instance of C and call method()
instance = C()

print instance.method # prints '<bound method C.method of <__main__.C instance at 0x00FC50F8>>'
instance.method(1, 2, 3) # normal method call

f = instance.method
f(1, 2, 3) # method call without using the variable 'instance' explicitly

Bound methods are methods that belong to instances of a class. In this example, instance.method is bound to the instance called instance. Everytime that bound method is called, the instance is passed as first parameter automagically - which is called self by convention.

2) Unbound methods

print C.method # prints '<unbound method C.method>'
instance = C()
C.method(instance, 1, 2, 3) # this call is the same as...
f = C.method
f(instance, 1, 2, 3) # ..this one...

instance.method(1, 2, 3) # and the same as calling the bound method as you would usually do

When you access C.method (the method inside a class instead of inside an instance), you get an unbound method. If you want to call it, you have to pass the instance as first parameter because the method is not bound to any instance.

Knowing that difference, you can make use of functions/methods as objects, like passing methods around. As an example use case, imagine an API that lets you define a callback function, but you want to provide a method as callback function. No problem, just pass self.myCallbackMethod as the callback and it will automatically be called with the instance as first argument. This wouldn't be possible in static languages like C++ (or only with trickery).

Hope you got the point ;) I think that is all you should know about method basics. You could also read more about the classmethod and staticmethod decorators, but that's another topic.

๐ŸŒ
Real Python
realpython.com โ€บ ref โ€บ glossary โ€บ method
method | Python Glossary โ€“ Real Python
In Python, a method is a function that is associated with a particular object or class.
๐ŸŒ
Dummies
dummies.com โ€บ article โ€บ technology โ€บ programming-web-design โ€บ python โ€บ working-with-methods-in-python-148323
Working with Methods in Python | dummies
December 27, 2021 - You create and work with methods in Python in precisely the same way that you do functions, except that methods are always associated with a class. You can create two kinds of methods: those associated with the class itself and those associated with an instance of a class.
Author:
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ python_class_methods.asp
Python Class Methods
Python Examples Python Compiler Python Exercises Python Quiz Python Challenges Python Practice Problems Python Server Python Syllabus Python Study Plan Python Interview Q&A Python Training ... Methods are functions that belong to a class.
๐ŸŒ
Python Geeks
pythongeeks.org โ€บ python geeks โ€บ learn python โ€บ methods in python with examples
Methods in Python with Examples - Python Geeks
June 11, 2021 - All instance methods in a class have a parameter called self in their method definition. The address of the object is passed as an argument to this parameter. Unlike other parameters, the value of the argument is provided directly by Python.
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ gloss_python_object_methods.asp
Python Object Methods
Magic Methods __str__ __repr__ __eq__ __add__ __len__ __lt__ __contains__ __call__ Code Challenge Python Inheritance
Find elsewhere
๐ŸŒ
DataFlair
data-flair.training โ€บ blogs โ€บ python-method
Python Method - Classes, Objects and Functions in Python - DataFlair
April 14, 2026 - A Python method, as we know it, is much like a function, except for the fact that it is associated with an object. Now you know how to define a method in python, and make use of the __init__ method and the self-parameter, or whatever you choose to call it.
๐ŸŒ
Python Tutorial
pythontutorial.net โ€บ home โ€บ python oop โ€บ python methods
Python Methods
March 31, 2025 - By definition, a method is a function that is bound to an instance of a class. This tutorial helps you understand how it works under the hood. The following defines a Request class that contains a function send(): class Request: def send(): print('Sent')Code language: Python (python)
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ python โ€บ difference-method-function-python
Difference between Method and Function in Python - GeeksforGeeks
July 11, 2025 - But Python has both concept of Method and Function. ... Method is called by its name, but it is associated to an object (dependent). A method definition always includes 'self' as its first parameter.
๐ŸŒ
Data36
data36.com โ€บ home โ€บ python built-in functions and methods (python for data science basics #3)
Python Built-in Functions and Methods (Python & Data Science - Basics #3)
April 4, 2022 - But Iโ€™ll also show you more in my upcoming tutorials. Most of the Python methods are applicable only for a given value type. Eg. .upper() works with strings, but doesnโ€™t work with integers. And .append() works with lists only and doesnโ€™t work with strings, integers or booleans.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ python โ€บ methods-and-parameters-in-python
Methods and Parameters - Python
February 16, 2026 - Methods and parameters in Python define how functions and object behaviours work. Methods are functions associated with objects or classes, while parameters are the inputs passed to them allowing flexible, reusable and dynamic code execution.
๐ŸŒ
Codecademy
codecademy.com โ€บ learn โ€บ cspath-python-objects โ€บ modules โ€บ cspath-python-classes โ€บ cheatsheet
Python Objects: Python: Classes Cheatsheet | Codecademy
... In Python, methods are functions that are defined as part of a class. It is common practice that the first argument of any method that is part of a class is the actual object calling the method.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ python โ€บ class-method-vs-static-method-vs-instance-method-in-python
Class Method vs Static Method vs Instance Method in Python - GeeksforGeeks
July 23, 2025 - Three important types of methods in Python are class methods, static methods, and instance methods. Each serves a distinct purpose and contributes to the overall flexibility and functionality of object-oriented programming in Python.
๐ŸŒ
Analytics Vidhya
analyticsvidhya.com โ€บ home โ€บ methods in python โ€“ a key concept of object oriented programming
Methods in Python - A Key Concept of Object Oriented Programming
September 27, 2024 - Visualizing Patterns and Trends in DataBasics of MatplotlibBasics of SeabornData Visualization with SeabornExploring Data using Python ... Methods in Python are a crucial concept to understand as a programmer and a data science professional
๐ŸŒ
YouTube
youtube.com โ€บ watch
Python Crash Course #3 - Methods & Functions - YouTube
In this Python crash course tutorial series, you'll learn all the basics of Python from the ground up.๐Ÿš€๐Ÿฅท๐ŸผGet access to the Python Crash Course on Net Ninj...
Published: December 6, 2023
๐ŸŒ
Mode
mode.com โ€บ python-tutorial โ€บ python-methods-functions-and-libraries
Python Methods, Functions, & Libraries | Python Analysis Tutorial - Mode
May 23, 2016 - A method is an action that you can take on an object. If a real-world window was an object, its methods might be .open() or .close(). In this case, the object is the dictionary, and the action is to return the .keys(): ... Remember how everything ...
๐ŸŒ
Python Like You Mean It
pythonlikeyoumeanit.com โ€บ Module4_OOP โ€บ Special_Methods.html
Special Methods โ€” Python Like You Mean It
In this section, we will learn about a variety of instance methods that are reserved by Python, which affect an objectโ€™s high level behavior and its interactions with operators. These are known as special methods. __init__ is an example of a special method; recall that it controls the process of creating instances of a class.