---
title: "Discussion on \"Python Dunder Methods for Beginners (Part 1): Make Your Objects Come Alive\" | Hashnode"
description: "Discussion on \"Python Dunder Methods for Beginners (Part 1): Make Your Objects Come Alive\". 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."
url: "https://hashnode.com/posts/python-dunder-methods-for-beginners-part-1-make-your-objects-come-alive/69db7ba6aadf1107e2c932ef"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [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.

Apr 12 · 7 min read · corelogic.hashnode.dev  
Updated Apr 13  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#dunder-method](https://hashnode.com/tag/dunder-method)
-   [#dunder](https://hashnode.com/tag/dunder)
-   [#python-tutorial](https://hashnode.com/tag/python-tutorial)
-   [#python-code-examples](https://hashnode.com/tag/python-code-examples)
-   [#pythonic-code](https://hashnode.com/tag/pythonic-code)
-   [#special-methods](https://hashnode.com/tag/special-methods)
-   [#init](https://hashnode.com/tag/init)
-   [#str](https://hashnode.com/tag/str)
-   [#python-repr](https://hashnode.com/tag/python-repr)
-   [#python-beginner](https://hashnode.com/tag/python-beginner)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#beginnerfriendly](https://hashnode.com/tag/beginnerfriendly)

## Written by

[ssnmahesh](https://hashnode.com/@corelogic)

@corelogic · London, UK

  
[View profile](https://hashnode.com/@corelogic)

Simplifying the complexities of modern software engineering

Breaking down complex systems into core principles. Exploring the intersection of Software Engineering, Data, and AI.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
