Python 3 Tutorial: 21 - Inheritance

preview_player
Показать описание
This tutorial introduces inheritance, a crucial part of classes. It also briefly touches upon overriding methods, but I will get more in depth with that in a later tutorial
Рекомендации по теме
Комментарии
Автор

One of the best Python tutorial on the web. Cuts all the geeky BS and gets right to the point. Keep up the awesome work!

writetokinshuk
Автор

This is great. After scouring the internet, looking for a succinct tutorial on inheritance within classes, this is the best resource I've found yet.

okbucket
Автор

After like 5 hours of reading and not understanding crap this tutorial saved my sanity. Thank you!

jasmineejoseph
Автор

Thank You!

One of the best and informative tutorials on Python Classes !

Rafael G.

Ralph
Автор

You have some of the BEST tutorials that I have seen over the last 2 years of teaching myself python. You are in the top three between yourself, Derek Banas, and Sentdex!!!!
Great work and THANK YOU!!!
I must admit that I'm still a little confused on what the dunders do, especially the __INIT__ dunder.
You have certainly helped decrease that confusion though.

tophattommy
Автор

Thanks for really clear explanation about classes.

gregbilser
Автор

Great tutorial. Very well explained can’t wait for more.

MrAceBond
Автор

Cool...! Came across a great one after many videos of this topic..Thank you!

akshaynimbal
Автор

You, Sir, are a GREAT teacher! Thanks! 10/10 content!

dimitri
Автор

Hey what's up guys welcome to my 20 FIRST Python 3 tutorials

bboybram
Автор

I'm really glad you're posting new videos. Are there more to come in the next few weeks/months?

PitaBreadYUM
Автор

Thank you for saving me from failing my final

redcherryblossomtree
Автор

over my head too, my thoughts exactly, anygraphics on how it inheritance works

ericdavid
Автор

Your videos saved my life! Can you do the overriding with non-special methods as well? I was just wondering weather you could override because you used __xx__ methods or it occurs whenever you make a method whose name is same as the parent class.

RyoSaeba
Автор

@bboybram its because 19-20 were actually the same

uruguayitorip
Автор

At this point, do you have any suggestions for a program to make to test skills so far? Btw, your tutorials are amazing.

AllowFlagging
Автор

Really great video, I am planning to go through all your videos.
I have one concern here related to inbuilt method __DEL__. It's declaration takes input parameter as self, but when calling neither using object or class name. why is it designed this way?

chittutube
Автор

does python 2.7.3 work different to python 3 for this example? Because when i type: m1 = Military('Dan', 40, 'General') in python shell, i get an error which says Person.__init__(self, name, age), TypeError: __init__() takes exactly 3 arguments (4 given)
I have written the exact same code as the one you have in the video!
Thanks

trotter
Автор

can you teach how to program Python and run it in Jython environment ?

nogoghi
Автор

When you extend the Person class into the Military class, aren't you already inheriting the constructor from the Person class? Why do you have to call out the Person.__init__(self, name, age)?

Thanks

يستيننور-هن
join shbcf.ru