

In this expert python tutorial I will discuss dunder methods/magic methods and the python data model. These features are fundamental to understand to grasp an idea of how built in python objects work and how we can modify object behavior.
⭐️ Thanks to Kite for sponsoring this video! Download the best AI automcolplete for python programming for free:
Playlist:
Data Model Documentation:
◾◾◾◾◾
💻 Enroll in The Fundamentals of Programming w/ Python
📸 Instagram:
🌎 Website
📱 Twitter:
⭐ Discord:
📝 LinkedIn:
📂 GitHub:
🔊 Podcast:
💵 One-Time Donations:
💰 Patreon:
◾◾◾◾◾◾
⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡
⭐ Tags ⭐
– Tech With Tim
– Python Tutorials
– Dunder Methods Python
– Magic Methods Python
– Python Data Model
– Python Dunder Methods
⭐ Hashtags ⭐
#Python
source
Stopped to give a thumb at 0:46
Tech With Tim: This an excellent video: the information is very easy to comprehend and your pacing, video, and audio are perfect! Thanks – I'm a subscriber now.
Great video Tim!
Dude….. that was an awesome class. I've seen those all over the place, I didn't know their name. I learned so much. Thank you!
This was so good!!
just loved it
thanks that was a great way of explaining it , can you give some concret data models implementation use cases that one might come across while developing a web app for exemple (flask ) ?
Man… this is mind-blowing. You gave me sight.
This is the best explanation I have seen on this. Thank you so much, it is a million times more clear now!
Can anyone say what method stands for '='? (like x = 5), and what class it belongs? Can't find anywhere, or maybe have found and can't figure out how it works
Oh my god, I never connected that they're called Dunder because they're Double UNDERscore…
Magic method = kind of operator overloading or function overriding?
Love it. Like and subscribed..
Very nice video, you’re very good at explaining.
Nice!
excellent, liked, subscribed and clicked bell!
This is really helpful. I think, as a beginning programmer, that we are trying to reach so far out, that we forget some of the base level stuff that's right in front of us. My 2 cents, at least.
Sir, I came across a confusion. If I write both the _repr()_ and __str__() methods in one class, which will be returned when I print the object of the class? Please explain. Thanks in advance.
Great series Tim! So glad I came across this.
Could you please show me your sublome packages for python? It seems convenient.
Btw, tks for your tutorial, its really helpful <3
6:59 in the _mul_ dunder while type checking, wouldn't `isinstance` be better than `type`?
One great thing you can do with inspect is to go back in the call chain to reference objects leading into where you're currently at.
You can then use those objects as you see fit. Say for example you have a base class whose child called you in a super() call. You can then get the instance of that object and use it to call another of your methods or just refuse to act if it doesn't meet certain conditions.
I plan on covering things like this later!
And this was how I created a number that is bigger then all the odd numbers, but smaller then all the even numbers
So python already implemented operator overloading for some and through dunder we can add this to others
At first I thought you said dunder mifflin
Why haven't you registered your Sublime ??
This is great! Looking forward to the rest of the series !
I wondered, what a clever teaching skill you had. At past I didn't understand dunder methods while having a course on udemy but now its cleared, Thanks Tim
What would be the difference between defining a class like this: class Person: and class Person():
(with and without the parentheses) Thanks in advance