Special Methods || Python Tutorial || Learn Python Programming

preview_player
Показать описание

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:

⧓⧓⧓⧓⧓
We recommend:
How to Be a Great Student

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 #SpecialMethods #Coding
Рекомендации по теме
Комментарии
Автор

Please don't stop python series, it's really awesome, ulka is an awesome instructor

shreehari
Автор

Now that Ulka is back, my passion for Python and Programming is back.

futureprogrammer
Автор

I've been a Python developer for 6 years but I still enjoy watching these because she makes things more clear.

miladiouss
Автор

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.

elmoyou
Автор

Now please dont stop this series. I am so much in love with python again

deepakpandit
Автор

I used to think I was a visual learner.
Now i know I'm a Socratica learner.

Thank you for these videos.

absmustang
Автор

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.

yanoku
Автор

Ulka is the main reason I followed Socratica! Please don't stop Python series!!

varunnagrare
Автор

This makes things much clearer for me. Ulka is a great instructor

cigdemylmaz
Автор

I enjoy the humor as well as the information in these videos. Very well done.

artemiasalina
Автор

So glad this series started again and so happy to see that your channel is regular now. Thank you!

aryannsarkari
Автор

yay, the python fairy is back, welcome, welcome

oudekraal
Автор

Well, your “Methods” for teaching python is really “Special”.

aldock
Автор

This series is excellent: funny, entertaining and pedagogically brilliant. You're doing an amazing job in this series (and others I imagine), thank you : ) !!!

olivierbegassat
Автор

1.24 .."Because nobody got time for that", always a pleasure listening and learning through this channel

mrmuranga
Автор

Gotta love how concise yet comprehensive these tutorials are

PyTransformer
Автор

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

stefanobailey
Автор

I have a huge respect for you mam....
I have learnt python from you.... 🙏🙏🙏

pratyushkumarbiswal
Автор

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

AvielGergel
Автор

You are an absolutely amazing teacher, thank you

spinj