Click this link https://sponsr.is/bootdev_TechWithTim and use my code TECHWITHTIM to get 25% off your first payment for boot.dev.
Today I'm going to show you one of the coolest features that Python has, and I guarantee that after you watch this video, you're going to look at Python code completely differently. So let's get into it and talk about "Dunder" or "Magic Methods".
🚀 My Software Development Program: https://coursecareers.com/a/techwithtim?course=software-dev-fundamentals&campaign=youtubedescription
📬 Join my Newsletter: https://techwithtim.net/newsletter
🎓 Get private mentorship from me: https://training.techwithtim.net
Context Manager Video: https://www.youtube.com/watch?v=Lv1treHIckI
Iterator Video: https://www.youtube.com/watch?v=p8FUoSIyIVY&t=2s
⏳ Timestamps ⏳
00:00 | Dunder Methods
01:13 | Understanding Python Objects
06:34 | Writing Your Own Dunder Methods
11:23 | str() and repr()
12:51 | Arithmetic and Comparison
16:33 | Indexing (obj[x] = value)
19:11 | Context Managers
21:32 | Iterators
Hashtags
#python #pythondundermethod #pythonmagicmethod