---
title: "#python-magic-method articles | Hashnode"
description: "Explore 8 articles tagged #python-magic-method on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/python-magic-method"
---

Tag

# #python-magic-method

8 posts · 0 followers

[Manas Shinde](https://hashnode.com/@manas-shinde) · [May 23, 2025](https://hashnode.com/posts/understanding-pythons-dunder-magic-methods-unlocking-hidden-power/68337ab784b66070097f2cfa)

### [Understanding Python's Dunder (Magic) Methods: Unlocking Hidden Power](https://bits-of-python-explain-by-manas.hashnode.dev/understanding-pythons-dunder-magic-methods-unlocking-hidden-power?utm_source=hashnode&utm_medium=feed)

If you've spent any time coding in Python, you've likely come across strange-looking method names surrounded by double underscores—\_\_init\_\_, \_\_str\_\_, or \_\_len\_\_, to name a few. These are known as dunder methods (short for double underscore), or more ...

4 min read · [bits-of-python-explain-by-manas.hashnode.dev](https://bits-of-python-explain-by-manas.hashnode.dev/understanding-pythons-dunder-magic-methods-unlocking-hidden-power?utm_source=hashnode&utm_medium=feed)

[Vivek Sahu](https://hashnode.com/@viv1) · [Mar 20, 2025](https://hashnode.com/posts/python-magic-methods-practical-guide/67dc33ff64b6723cee52486b)

### [How Python Magic Methods Work: A Practical Guide](https://freecodecamp.org/news/python-magic-methods-practical-guide?utm_source=hashnode&utm_medium=feed)

Have you ever wondered how Python makes objects work with operators like + or -? Or how it knows how to display objects when you print them? The answer lies in Python's magic methods, also known as dunder (double under) methods. Magic methods are spe...

25 min read · [freecodecamp.org](https://freecodecamp.org/news/python-magic-methods-practical-guide?utm_source=hashnode&utm_medium=feed)

[Lim Woojae](https://hashnode.com/@jaylog) · [Dec 15, 2024](https://hashnode.com/posts/python-magic-method/675e6b818e45530d2eb93607)

### [\[Python\] Magic Method](https://jaylog.hashnode.dev/python-magic-method?utm_source=hashnode&utm_medium=feed)

Magic methods, also known as dunder methods (short for "double underscore"), are special methods in Python that start and end with double underscores.

2 min read · [jaylog.hashnode.dev](https://jaylog.hashnode.dev/python-magic-method?utm_source=hashnode&utm_medium=feed)

[Tarun Sharma](https://hashnode.com/@TapsTechie) · [Aug 5, 2024](https://hashnode.com/posts/learn-python-magic-methods-a-simple-explanation/66b0db665aaee90213beca37)

### [Learn Python Magic Methods: A Simple Explanation](https://tapstechie.hashnode.dev/learn-python-magic-methods-a-simple-explanation?utm_source=hashnode&utm_medium=feed)

Learn how Python magic methods improve object behavior, attribute access, container functions, and custom operations with examples and use cases

4 min read · [tapstechie.hashnode.dev](https://tapstechie.hashnode.dev/learn-python-magic-methods-a-simple-explanation?utm_source=hashnode&utm_medium=feed)

[kapil Garg](https://hashnode.com/@kapilgarg) · [Apr 19, 2024](https://hashnode.com/posts/singleton-class-in-python/6622359bb8f1af323d48e3ad)

### [Singleton class in Python](https://kapilg.hashnode.dev/singleton-class-in-python?utm_source=hashnode&utm_medium=feed)

Learn how to implement a Singleton class in Python using \`\_\_new\_\_\` method and metaclass for ensuring only one instance.

2 min read · [kapilg.hashnode.dev](https://kapilg.hashnode.dev/singleton-class-in-python?utm_source=hashnode&utm_medium=feed)

[Nikhil Akki](https://hashnode.com/@nikhilakki) · [Sep 9, 2023](https://hashnode.com/posts/unlocking-pythons-hidden-gems-a-journey-through-iterators/64fbf639a026b82f6356973b)

### [Unlocking Python's Hidden Gems: A Journey Through Iterators](https://nikhilakki.in/unlocking-pythons-hidden-gems-a-journey-through-iterators?utm_source=hashnode&utm_medium=feed)

Python's Toolbox Unveiled: Explore the Magic of Iterators in Just a Glimpse - Your Tour Starts Here!

3 min read · [nikhilakki.in](https://nikhilakki.in/unlocking-pythons-hidden-gems-a-journey-through-iterators?utm_source=hashnode&utm_medium=feed)

[Salaudeen Sodiq](https://hashnode.com/@Salsod) · [May 10, 2023](https://hashnode.com/posts/beautiful-concepts-in-python/645be8a8f9e96c2892a4e7bc)

### [Beautiful concepts in Python](https://salsod.hashnode.dev/beautiful-concepts-in-python?utm_source=hashnode&utm_medium=feed)

Do you know everything in Python is an object? When you declare a variable of x and initialize it with the value of 3 for example x = 3. What Python did here in the background was that it creates an instance of class int which is the variable x you d...

4 min read · [salsod.hashnode.dev](https://salsod.hashnode.dev/beautiful-concepts-in-python?utm_source=hashnode&utm_medium=feed)
