About 64,800 results
Open links in new tab
  1. Every dunder method in Python

    Mar 19, 2024 · However, "dunder method" is a fairly common Python colloquialism, as noted in my unofficial Python glossary. You can use the links scattered throughout this page for more details on …

  2. Dunder or magic methods in Python - GeeksforGeeks

    Mar 18, 2026 · Python magic (dunder) methods are special methods with double underscores __ that enable operator overloading and custom object behavior. The below code displays the magic …

  3. Python's Magic Methods: Leverage Their Power in Your Classes

    As a Python developer who wants to harness the power of object-oriented programming, you’ll love to learn how to customize your classes using special methods, also known as magic methods or …

  4. Python Dunder Methods: Special Commands Worth Knowing

    Apr 4, 2025 · Learn how Python dunder methods allow your custom objects to work with built-in operations. Discover how these magic methods simplify class design.

  5. Python Dunder Methods: A Comprehensive Guide - codesamplez.com

    Jul 4, 2025 · Master Python Dunder Methods with practical examples. Learn init, str, add and more special methods to customize object behavior effectively.

  6. Demystifying Python Dunder Methods: A Comprehensive Guide

    Apr 5, 2025 · Python is a versatile and powerful programming language known for its simplicity and readability. One of the unique features that contributes to its flexibility is the concept of dunder …

  7. Beginner’s Guide to Python Dunder Methods | Zero To Mastery

    Sep 29, 2025 · Unlock Python’s hidden 'magic' with dunder methods! Learn what they are, how they work, and how to use them to make your code cleaner, smarter, + more powerful.

  8. A Guide To Python's Dunder Methods | Towards Data Science

    May 7, 2022 · Python has several magic methods – you’d typically hear practitioners refer to as dunder methods (I’ll be referring to them as both interchangeably). These methods carry out a procedure …

  9. Python Dunder Methods: Syntax, Usage, and Examples

    Learn Python dunder methods like init and str, how they power operators, len(), comparisons, iteration, and make custom classes feel built-in.

  10. Python | Dunder Methods | Codecademy

    Jul 11, 2022 · Dunder Methods, alternatively known as magic methods, use a special syntax to perform class -specific operations in Python. Here, “dunder” is the short for “double underscores”. The …