HHarshvardhan Sisodiya·Aug 3What are Dunder Methods in Python ? 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
Sssnmahesh·Apr 18Python Dunder Methods (Part 2): Make Your Objects Behave Like Built-insStop Writing Helper Methods - Let Python’s Operators Do the Talking8 min read·corelogic.hashnode.dev
Sssnmahesh·Apr 12Python Dunder Methods for Beginners (Part 1): Make Your Objects Come AliveYou'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
LLim Woojae·Dec 23, 2024[Python] Leveraging __name__ for Efficient Python Module OrganizationWe 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
AAnushka Kishor·Jun 29, 2024Dunder in pythonIntroduction to dunder (double underscore) methods in Python, including `__init__` and `__main__`, with practical examples2 min read·kishoranushka.hashnode.devR
MMaxat Akbanov·Apr 16, 2024Python 101: Special variablesPython 101: Special variables3 min read·brain2life.hashnode.dev
PPaul Oladayo·Dec 6, 2022What is Python Dunder?"dunder" is short for "double underscore"2 min read·heccubernny.hashnode.dev