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.
Python Docs: [ Ссылка ]
Python OOP 1 - Classes and Instances - [ Ссылка ]
Python OOP 2 - Class Variables - [ Ссылка ]
Python OOP 3 - Classmethods and Staticmethods - [ Ссылка ]
Python OOP 4 - Inheritance - [ Ссылка ]
Python OOP 5 - Special (Magic/Dunder) Methods - [ Ссылка ]
Python OOP 6 - Property Decorators - [ Ссылка ]
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:
My Website - [ Ссылка ]
My Second Channel - [ Ссылка ]
Facebook - [ Ссылка ]
Twitter - [ Ссылка ]
Instagram - [ Ссылка ]
#Python
Ещё видео!