Python OOP Tutorial 5: Special (Magic/Dunder) Methods

preview_player
Показать описание
In this Python Object-Oriented Tutorial, we will be learning about special methods. These are also called magic or dunder methods. These methods allow us to emulate built-in types or implement operator overloading. These can be extremely powerful if used correctly. We will start by writing a few special methods of our own and then look at how some of them are used in the Standard Library. Let's get started.

The code from this video can be found at:

✅ Support My Channel Through Patreon:

✅ Become a Channel Member:

✅ One-Time Contribution Through PayPal:

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist

✅ Equipment I Use and Books I Recommend:

▶️ You Can Find Me On:

#Python
Рекомендации по теме
Комментарии
Автор

the amount of 'aha' moment in this series is unimaginable.

kickbuttowski
Автор

6 years later and this is still invaluable

ryanthornton
Автор

What I like about your videos is that there's no emming, erring or dribbling of words. Well planned and execution of tutorial; nice clear, crisp flow and sticking to point really well. Excellent. Please keep them coming.

garydunken
Автор

Normally I never comment but really have to say tow things: thanks so much for the tutorial and by far the best and flawless (material and speech) python tutorial ever seen. Nice talent Corey!

andresvodopivec
Автор

best python tutorials on youtube. period.

christianfuchs
Автор

The quality of your teaching is blowing my mind.

DiscoTile-LA
Автор

I started with Python from two weeks ago I come from Php and Java so I have a good understanding of Classes and Objects, but I have to tell you that the way you present every topic is magistral. Thank you very much for your flawless tutorial. And the extra for me is that your tutorials are also an English class.

nelsongg
Автор

These OOP tutorials are worth gold! They make difficult subject to look so easy!

betulabendula
Автор

@Corey - You are an excellent teacher and know exactly how to tell/teach about any topic. I have seen all of your videos and learnt a lot by watching these tutorials. Can you please upload some videos on some of the python concepts like - Multiprocessing, Design patterns, MetaClasses as well.

ankurjain
Автор

Keep up the Python OOP tutorial, they're great!

Mrjarnould
Автор

My favorite part of your tutorials is that you give a great great example come from standard or well-known library to show us what those skills are used in dealing with real-world programming issues. A hundred thumb-ups!

xiaolu
Автор

I have just spent the day going through this series as I am studying and needed to understand this concept better. Your series has been superb and I'm so thankful. Thank you for sharing your extensive knowledge in a way that is clear and easy to understand. When I am working I will support through Patreon to pay it forward so you keep on making them. I am going to watch many more of your videos from here on, I am sure.

sueholder
Автор

Who is down voting your videos? You are a master and clearly demonstrate your command of this language by how easily you simplify these concepts for me. Thank you, good sir!

NicholasKimble
Автор

I had an ungodly amount of trouble understanding OOP in general and I think that in the middle of many other tutorials, yours were the first that I could finally understand and keep up with without getting lost halfway through the lecture.

Thank you so much, keep the wonderful content coming! ♥

LVVMPR
Автор

I finally feel I have a complete picture on Python basics despite already learning it for 4 months. Thanks.

mrmabb
Автор

These videos are such a lifesaver for me. Gives me actual understanding instead of me just stumbling along, not knowing what I'm really doing.

bobboulden
Автор

DUDE you're the fkn MAN.. been following this series and everything about your presentation is SO great. Thank you so much :) I will be donating

baterickpatman
Автор

When I was self studying C# because my job needed it, I hardly grasped the concept of OOP because coding it in C# to see how it actually works is complicated. With your explanation, I saw the clear and complete picture of OOP. Maraming Salamat ! (Thank you so much ! 🙂)

monagulapa
Автор

You are like the Khan Academy of Python code. Great explanations and examples.

GodsNode
Автор

One of best explanation learning video to understand class and object

kamalakannank
visit shbcf.ru