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

Tag

# #dunder

7 posts · 0 followers

[Harshvardhan Sisodiya](https://hashnode.com/@harshvsisodiya) · [Aug 3](https://hashnode.com/posts/what-are-dunder-methods-in-python/6a7008b77bc13284b270d570)

### [What are Dunder Methods in Python ?](https://harshcs.hashnode.dev/what-are-dunder-methods-in-python?utm_source=hashnode&utm_medium=feed)

Learn what Python dunder (magic) methods are, how they work, and how methods like \_\_init\_\_, \_\_str\_\_, and \_\_add\_\_ customize objects.

4 min read · [harshcs.hashnode.dev](https://harshcs.hashnode.dev/what-are-dunder-methods-in-python?utm_source=hashnode&utm_medium=feed)

[ssnmahesh](https://hashnode.com/@corelogic) · [Apr 18](https://hashnode.com/posts/python-dunder-methods-part-2-make-your-objects-behave-like-built-ins/69e35d24b30fd615c238ebb9)

### [Python Dunder Methods (Part 2): Make Your Objects Behave Like Built-ins](https://corelogic.hashnode.dev/python-dunder-methods-part-2-make-your-objects-behave-like-built-ins?utm_source=hashnode&utm_medium=feed)

Stop Writing Helper Methods - Let Python’s Operators Do the Talking

8 min read · [corelogic.hashnode.dev](https://corelogic.hashnode.dev/python-dunder-methods-part-2-make-your-objects-behave-like-built-ins?utm_source=hashnode&utm_medium=feed)

[ssnmahesh](https://hashnode.com/@corelogic) · [Apr 12](https://hashnode.com/posts/python-dunder-methods-for-beginners-part-1-make-your-objects-come-alive/69db7ba6aadf1107e2c932ef)

### [Python Dunder Methods for Beginners (Part 1): Make Your Objects Come Alive](https://corelogic.hashnode.dev/python-dunder-methods-for-beginners-part-1-make-your-objects-come-alive?utm_source=hashnode&utm_medium=feed)

You've built a class. You print it. Python spits out something like <\_\_main\_\_.Device object at 0x7f3b2c>. What even is that? Here's what's actually going on and how to fix it.

7 min read · [corelogic.hashnode.dev](https://corelogic.hashnode.dev/python-dunder-methods-for-beginners-part-1-make-your-objects-come-alive?utm_source=hashnode&utm_medium=feed)

[Lim Woojae](https://hashnode.com/@jaylog) · [Dec 23, 2024](https://hashnode.com/posts/python-leveraging-name-for-efficient-python-module-organization/67696b69850657f26f185556)

### [\[Python\] Leveraging \_\_name\_\_ for Efficient Python Module Organization](https://jaylog.hashnode.dev/python-leveraging-name-for-efficient-python-module-organization?utm_source=hashnode&utm_medium=feed)

We can distinguish between running directly and importing as a module. When a Python file is executed directly, the interpreter sets the special variable \_\_

2 min read · [jaylog.hashnode.dev](https://jaylog.hashnode.dev/python-leveraging-name-for-efficient-python-module-organization?utm_source=hashnode&utm_medium=feed)

[Anushka Kishor](https://hashnode.com/@kishoranushka) · [Jun 29, 2024](https://hashnode.com/posts/dunder-in-python/667f6ad5812fa4b1173bb354)

### [Dunder in python](https://kishoranushka.hashnode.dev/dunder-in-python?utm_source=hashnode&utm_medium=feed)

Introduction to dunder (double underscore) methods in Python, including \`\_\_init\_\_\` and \`\_\_main\_\_\`, with practical examples

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

[Maxat Akbanov](https://hashnode.com/@brain2life) · [Apr 16, 2024](https://hashnode.com/posts/python-101-special-variables/661e69ec932010c45219f92b)

### [Python 101: Special variables](https://brain2life.hashnode.dev/python-101-special-variables?utm_source=hashnode&utm_medium=feed)

Python 101: Special variables

3 min read · [brain2life.hashnode.dev](https://brain2life.hashnode.dev/python-101-special-variables?utm_source=hashnode&utm_medium=feed)

[Paul Oladayo](https://hashnode.com/@Heccubernny) · [Dec 6, 2022](https://hashnode.com/posts/what-is-python-dunder/638e9a04dd80c0d1deddf626)

### [What is Python Dunder?](https://heccubernny.hashnode.dev/what-is-python-dunder?utm_source=hashnode&utm_medium=feed)

"dunder" is short for "double underscore"

2 min read · [heccubernny.hashnode.dev](https://heccubernny.hashnode.dev/what-is-python-dunder?utm_source=hashnode&utm_medium=feed)
