Skip to content

Magic Methods in Python

Photo of Namit Kewat
Hosted By
Namit K.
Magic Methods in Python

Details

These methods allows us to define the construction and destruction of the object.
These methods deals with attributes access.
These methods handle the operator-overloading.
They are the way of metaprogramming.
They make our objects to behave like "built-in" types.
.
.
.
That's why we call them "MAGIC" methods.

Let's explore them.

Prerequisite:
This is an intermediate level talk so knowledge of software development and python language is required.

Photo of The Ahmedabad Python Meetup Group group
The Ahmedabad Python Meetup Group
See more events
Gateway Group
Corporate House, A-91, Pakwan Crossing, Judges Bunglow Road, Bodakdev · Ahmedabad, gu