𝙎𝙩𝙖𝙮 𝙞𝙣 𝙩𝙝𝙚 𝙡𝙤𝙤𝙥 𝙄𝙉𝙁𝙄𝙉𝙄𝙏𝙀𝙇𝙔: [ Ссылка ] Socratica Friends, we have a quiet little email group for Python if you'd like to receive updates (can't count on YT for notifications). Sign up here: [ Ссылка ]
In Python, special methods are those "odd looking" methods that start and end with underscores. They let you override operators, intercept the setting and getting of attributes, customize object serialization, and much more. In this lesson we talk about the idea behind special methods and attributes, how to implement them, and give many examples along the way!
Some of the special methods & attributes we will cover include:
__init__
__doc__
__setattr__
__str__
__getattr__
__getattribute__
We were able to bring you this video thanks to our generous Kickstarter backers! Find their names hidden (okay, not very hidden) in the video!
⧓⧓⧓⧓⧓
Subscribe to Socratica + bell for notifications:
[ Ссылка ]
Find our programming playlists here:
Python programming: [ Ссылка ]
SQL programming: [ Ссылка ]
⧓⧓⧓⧓⧓
We recommend:
How to Be a Great Student
ebook: [ Ссылка ]
Paperback: [ Ссылка ]
Kindle Unlimited (read free): [ Ссылка ]
Python Cookbook, 3rd edition
[ Ссылка ]
The Mythical Man Month - Essays on Software Engineering & Project Management
[ Ссылка ]
Shop Amazon Used Textbooks - Save up to 90%
[ Ссылка ]
⧓⧓⧓⧓⧓
Join this channel to get access to perks:
[ Ссылка ]
Support Socratica on Patreon:
[ Ссылка ]
⧓⧓⧓⧓⧓
Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
Written & Produced by Michael Harrison (@mlh496 on Twitter)
#Python #SpecialMethods #Coding
![](https://s2.save4k.ru/pic/IkWrlRei0uA/maxresdefault.jpg)