Special Methods || Python Tutorial || Learn Python Programming
VloĆŸit
- Äas pĆidĂĄn 27. 07. 2021
- đđ©đđź đđŁ đ©đđ đĄđ€đ€đ„ đđđđđđđđđđ: snu.socratica.com/python 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: snu.socratica.com/python
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:
bit.ly/SocraticaSubscribe
Find our programming playlists here:
Python programming: bit.ly/PythonSocratica
SQL programming: bit.ly/SQL_Socratica
â§â§â§â§â§
We recommend:
How to Be a Great Student
ebook: amzn.to/2Lh3XSP
Paperback: amzn.to/3t5jeH3
Kindle Unlimited (read free): amzn.to/3atr8TJ
Python Cookbook, 3rd edition
amzn.to/3goRmbG
The Mythical Man Month - Essays on Software Engineering & Project Management
amzn.to/2tYdNeP
Shop Amazon Used Textbooks - Save up to 90%
amzn.to/2pllk4B
â§â§â§â§â§
Join this channel to get access to perks:
/ @socratica
Support Socratica on Patreon:
/ socratica
â§â§â§â§â§
Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
Written & Produced by Michael Harrison (@mlh496 on Twitter)
#Python #SpecialMethods #Coding
Wear a Socratica Python shirt for good luck coding: shop.socratica.com/products/python-by-socratica
Now that Ulka is back, my passion for Python and Programming is back.
Indeed
I already know the material, but it's worth watching for the cybernetic presentation.
Please don't stop python series, it's really awesome, ulka is an awesome instructor
she's human or ai?
@@thomasslonsdale6837 ai
Yesyesyesyes
The level of subtle (and not so subtle) sarcasm in just the first minute made me almost roll off my chair. These videos have nothing new to learn for me, but they are so much worth watching nonetheless. Priceless.
Thanks Elmo. Just make sure to assert this statement on your next resume as an achievement / reference.
I've been a Python developer for 6 years but I still enjoy watching these because she makes things more clear.
Now please dont stop this series. I am so much in love with python again
I used to think I was a visual learner.
Now i know I'm a Socratica learner.
Thank you for these videos.
AAAAHHHH this is the most beautiful comment. đđŠ
Well, your âMethodsâ for teaching python is really âSpecialâ.
Brilliant!
Your sense of humor, voice, coding environment and the way you are introducing this content is pretty impressive!
Hope to see new Python videos soon.
So glad this series started again and so happy to see that your channel is regular now. Thank you!
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: bit.ly/PythonGroup
I am a supporter đ
Signed...plz Give us latest python ML Work with your magic..
I enjoy the humor as well as the information in these videos. Very well done.
they summarized my coding basics class of 1 yr into a 12 min video
This makes things much clearer for me. Ulka is a great instructor
This series is excellent: funny, entertaining and pedagogically brilliant. You're doing an amazing job in this series (and others I imagine), thank you : ) !!!
i love these. gives me the same tingly feeling as strategy game tutorials from wayyy back
Gotta love how concise yet comprehensive these tutorials are
As always, the best examples and the best clear explanation of such an amazing feature. Thanks Ulka and thanks Socratica.
yay, the python fairy is back, welcome, welcome
As someone who is teaching python to themselves, this was really useful to finally understand what is going on with the dunderscore. Most of my objects just store attributes, so this video helps me realize how I can use my custom objects more wisely. Thank you!
Oh my God. I did not realise these tutorials were back. So happy about this. I am a lot more experienced than I used to be, and am writing code for my job everyday. But I find these so entertaining
Ulka is the main reason I followed Socratica! Please don't stop Python series!!
Im sooo glad you are back. Thank you!
Well done, Thank You.
There is something special about your videos.
You are an absolutely amazing teacher, thank you
I've been teaching for quite some time now, but I am yet to see any surpass this straight to the point and effective way of teaching.
This indeed is, a special video đ
she is back đđđ
she is just amazing in how she simplified the content, thank you for the lessons đ
Python evolves so quickly.
Thanks for the usual amazing explanation.
This isn't new. I'm not sure but unless they dramatically changed how their language works, this should be about as old as python classes are.
Not sure if this what you meant with python evolves so quickly.
Very on point no bs, not wasting time, very good!
Loved it. Really helped understand how it all works. Love the humour.
We dont need any special "compare" methods, because we know for sure, that "Socraticas" videos are simply the best!!! Thank u for making things clear & interesting
I have a huge respect for you mam....
I have learnt python from you.... đđđ
Ulka taught me Python in 2020. Welcome back!!! đ đđ»
we really hope you get time to make more of these awesome python videos, can't get enough of your content. thanks
Oh, there will be Python... Much more Python.
Socratica is special to me. Thanks.
This is SO Powerful!, Well Explained!! awesome LESSONS
please make more videos on Python..just love your videos,, so informative and interesting ..I fell in love with Python from watching your videos.... great inspiration
As usual - really cool content!!!! thank you))
Best video on this topic !
1.24 .."Because nobody got time for that" , always a pleasure listening and learning through this channel
Thank you @Socratica for bringing Ulka back for more python programming tips!
Love it, Thanks!
Missed this channel man !
Glad to see u after a long time
I love this channel so much
As always, great content!
Yayyyy! Its back!
Good to see you again!!!!!
this serie never gets old nor boring for me
I never write comments on CZcams but for you I will make an exception. Very happy you are back, this is, by far the best tutorial series on python that I have ever seen.
You are so kind, thank you!! We really love making these videos. đđŠ
Well done, thank for the great effort at every video
Awesome Channel đ thank you !!
So glad your back with Video! A Class of their own! #Best
Thank you for the great video
I watched her video something 2 yrs back..
And she is still same wow
Excellent work as always!
Wait a second... Are these great Python videos back ??? Yeah !!! đ
best tutorial videos about python. no bullshit whatsoever
I love these videos with teacher Ulka. đ
Very nice. Really shows some OOP concepts in Python.
God damn, I am quite new to programming and what is being said makes sense. But deploying these methods as quickly as the video, that's a while away for me. Nice channel anyway.
Thanks for making video đđđđ
World's best presentation
These videos are pretty great
So glad she is back
OMG... I got what I was looking for â€ïžâ€ïž
Best đđ» video đđ thanks for making video on python
Soooo happy to see Ulka again đ„łđ€©
Welcome back!
Wish I could give more than one thumbs-up.
I share your videos a lot, though, so maybe I do vicariously.
Keep up the good work! Will join soon!
These videos are great
There are two people who taught me the fun aspects of Python, Socratica and Bucky Roberts (The New Boston).
Bucky stopped doing his videos suddenly so that leaves Socratica
Edit
Bucky Roberts is back!!
Now we have two awesome fun places to watch Python videos on!
Welcome back đ Ulka
I don't know why, but anytime I watch your video, I understand faster then my university lecturer
Your back!!!
Thnx a lot đ ...have been waiting for a long long time. Please keep continue.... We appreciate min 1 Python video/month. Givin u stenngth through comment đ„°đ„°
Stay strong, kind Socratica Friend! More on the way! đđŠ
I'm lovin it
a masterpiece
I just came here to leave a 'like'! Thank you for these series of videos! Last year, they were a huge help to me to learn Python.
Great.... one
glad to see you back hahaha
Special video on special method by a special person ! :)
Welcome back đ€đ€
after a long time.. me is waiting..
Are you planning on covering other languages, this format works very well for learning!
excellent
The accent, the attire, the background, make me imagine. Some advanced AI tutor đ€
Thanks!
Thank you for your kind support!! đđŠ
By far the best videos on python on the internet. Could you please make videos on neural networks... specifically as it relates to object detection using ResNext50
Clever......đź
You are special!
Ulka is such a gem.
After long time .. !
"Thorough this video I will not pronounce the leading underscores because nobody got time for that"
This line killed me XD
Thanks
Oh my god you are back
Special methods
In a Python tutorial.
Ulka's back,
With sarcasm for you all.
Learn some Python
And have a laugh too.
With dunder and magic
Comin through.
Such a great channel on CZcams?
Who knew!
Oh your back
Ulka is very special..