Тёмный
No video :(

Multiple Inheritance in Python - how to use super & __init___ to initialize python Base class 

Cognitive Programmer
Подписаться 28 тыс.
Просмотров 16 тыс.
50% 1

Опубликовано:

 

20 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 78   
@varshinikanugonda5709
@varshinikanugonda5709 5 месяцев назад
superb explanation of super(). I have been searching of how to use super() and after almost 1 hr I got it. Thanks a lot sir
@pc324
@pc324 Месяц назад
Thank you sir, had my head breaking how to initailize attributes from different classes without knowing abt **kwargs....finally found the solution in your video
@Cognitive-Programmer
@Cognitive-Programmer Месяц назад
Thank you so much for your kind words 🙏
@TheDrewCrawford
@TheDrewCrawford 2 года назад
Great explanation and great examples. I had been stuck for hours on this very issue but thanks to your video my code is now working. Thank you sir.
@Cognitive-Programmer
@Cognitive-Programmer 2 года назад
Thanks you so much for taking time out to write the comment.. 🙏🙏🙏
@RamKumar-qm9ch
@RamKumar-qm9ch 3 года назад
Superb Explanation about super(). Best video for knowing super( ) handling in python. Thank a lot
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks for your comment 🙏🙏🙏
@mciniell
@mciniell Год назад
Excellent video! I've been trying to understand multiple inheritance for a while now, this is hugely helpful!
@Cognitive-Programmer
@Cognitive-Programmer Год назад
Thanks a lot for your comment 🙏
@muhammadarqamwaheed186
@muhammadarqamwaheed186 3 года назад
I searched whole the youtube but this video is the complete explanation of super() Thank You Sir!
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thank you so much for your comment 🙏🙏🙏
@Aria-Code
@Aria-Code 7 месяцев назад
Absolutely great video and covering all possible situations THANK YOU
@Cognitive-Programmer
@Cognitive-Programmer 7 месяцев назад
Thank you so much 🙏
@vigneshmurali1994
@vigneshmurali1994 2 года назад
Great explanation. You clarified my doubt
@Cognitive-Programmer
@Cognitive-Programmer 2 года назад
Thanks for your comment 🙏
@harideepgaddam3355
@harideepgaddam3355 3 года назад
Nice 😊👍
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks for your comment 🙏🙏🙏
@BilalKhan-rc5nc
@BilalKhan-rc5nc 3 года назад
Step by step explanation very nice. Carry on sir. Video is very helpful.
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks for watching my video and thanks for your comment 🙏🙏🙏
@LadyPlatinaBerlitz
@LadyPlatinaBerlitz 2 года назад
Thank you! The last part about parameters and **kwargs are exactly what I needed clarification on.
@Cognitive-Programmer
@Cognitive-Programmer 2 года назад
Thanks for your comment 🙏
@jayaramamt8136
@jayaramamt8136 Год назад
Great explanation🙏🙏🙏
@Cognitive-Programmer
@Cognitive-Programmer Год назад
Thanks for your comment 🙏
@christian2426
@christian2426 Год назад
Excellent, great examples! Thank you
@Cognitive-Programmer
@Cognitive-Programmer Год назад
Thanks for your comment 🙏
@deepaksharma-xr1ih
@deepaksharma-xr1ih 3 года назад
One of the best till now
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks a lot for your kind words 🙏🙏🙏
@Rajgupta-fh3yt
@Rajgupta-fh3yt 3 года назад
super video. exactly what i was looking for. THANKS ALOT BRO.
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks for watching my video and thanks for your comment 🙏🙏🙏
@elle948
@elle948 2 года назад
thank you sir you are a legend!
@Cognitive-Programmer
@Cognitive-Programmer 2 года назад
Thank you so much for your kind words 🙏🙏🙏
@techcode_man
@techcode_man 2 года назад
Thank you. Very well explained!!! 🙏👍👍
@Cognitive-Programmer
@Cognitive-Programmer 2 года назад
Thanks for your comment 🙏
@rohitnegi5566
@rohitnegi5566 3 года назад
good content, this channel should deserve more subscribers
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks a lot for your kind words 🙏🙏🙏
@heychima
@heychima 2 года назад
genius, thanks so much
@Cognitive-Programmer
@Cognitive-Programmer 2 года назад
Thanks for your comment 🙏
@roxykvarman8773
@roxykvarman8773 3 года назад
Thanks a lot! Easy to understand explanation of rather difficult topic. And very thoughtful presentation. Definitely subscribed!
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks a lot for your comment and sub 🙏🙏🙏
@aju9320
@aju9320 2 года назад
Thank you very much 👍👍
@Cognitive-Programmer
@Cognitive-Programmer 2 года назад
Thanks for your comment 🙏🙏🙏
@luattranbinh9474
@luattranbinh9474 3 года назад
Awsome, You saved me. Thanks !!!
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks for your comment.. I am glad to know that my video helped you in your learning journey 🙏🙏🙏
@SuccessSparks04
@SuccessSparks04 2 года назад
great great great man
@Cognitive-Programmer
@Cognitive-Programmer 2 года назад
Thank you so much 🙏
@AlvaroALorite
@AlvaroALorite 3 года назад
Thank you sir! You clarified a lot of concepts that I was finding hard understanding 🙏😊
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks for watching my video and thanks for your comment 🙏🙏🙏
@kartiksrikumar6069
@kartiksrikumar6069 3 года назад
nice explanation!
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks a lot for your comment 🙏🙏🙏
@shuxiangzhang2567
@shuxiangzhang2567 3 года назад
Great video, thanks!
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks for your comment 🙏🙏🙏
@tricialobo9233
@tricialobo9233 3 года назад
Thanks for saving my debugging night:)
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks a lot for your comment.. I am glad to know that it helped..Thanks again 🙏🙏🙏
@wesleyrodrigues2329
@wesleyrodrigues2329 3 года назад
Thank you very much, helped me a lot!
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks for your comment 🙏🙏🙏
@sayandey1478
@sayandey1478 3 года назад
You saved me Thanks a lot
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks a lot for your comment 🙏🙏🙏
@dumidupramith3881
@dumidupramith3881 2 года назад
thank you're super
@Cognitive-Programmer
@Cognitive-Programmer 2 года назад
Thank you so much 🙏
@mikramuddin
@mikramuddin 2 года назад
Most amazing demo. I hope you have many more videos. 5-star and subscribing for more content from you. Thank you
@Cognitive-Programmer
@Cognitive-Programmer 2 года назад
Thanks for your comment 🙏
@judeleon8485
@judeleon8485 3 года назад
Great tutorial with clear explanation! where can we find the code for the video?
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Hello Thanks for your kind word. I haven’t uploaded the code anywhere but if it is helpful I may upload the same in my GitHub page.. though it will take some time Thanks 🙏 🙏🙏
@akdvlog
@akdvlog Год назад
This video is very useful for me and it clears my doute. plz share the code link.
@Cognitive-Programmer
@Cognitive-Programmer Год назад
Thank you so much, unfortunately my code is lost due to a system crash.. but will certainly create one at some later point of time.. thanks again 🙏
@BukhariShah-br1vq
@BukhariShah-br1vq 3 года назад
thanks again i have one more question plz answer ​ @Code Sports Why classname.base.commit() is used in python with classes?plz tell
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Hello Thanks for your comment. I believe you're talking about ___init___ and not the commit right? If that's the case it is done to make sure that python base classes are initialized. Unlike other languages like JAVA and C++, it will not happen automatically in python and we need to manually initialize it Hope it helps.. thanks
@BukhariShah-br1vq
@BukhariShah-br1vq 3 года назад
@@Cognitive-Programmer thank you very much
@anushanandamuri1184
@anushanandamuri1184 3 года назад
if first class and second class are inherited from same base and having super() then how will pass parameters
@ytronik
@ytronik 5 месяцев назад
**kwargs are necessary only for multiple injections, right?
@Cognitive-Programmer
@Cognitive-Programmer 5 месяцев назад
**kwargs is a parameters consist of key-value pairs. Usage depends upon the scenario
@yt-1161
@yt-1161 2 года назад
What about super().__new__() ?
@AdolfHitler-di5cr
@AdolfHitler-di5cr 3 года назад
Ujing , Ujing ha ha
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks for your comment and sorry about that 🙏🙏🙏
@BukhariShah-br1vq
@BukhariShah-br1vq 3 года назад
super video. exactly what i was looking for. THANKS ALOT BRO.
@Cognitive-Programmer
@Cognitive-Programmer 3 года назад
Thanks a lot for your comment 🙏🙏
@BukhariShah-br1vq
@BukhariShah-br1vq 3 года назад
@@Cognitive-Programmer ​ Why classname.base.commit() is used in python with class ? plz tell
Далее
A simple explanation of super() in Python
15:02
Просмотров 47 тыс.
🔥НОВАЯ БАТАРЕЯ?😮
00:40
Просмотров 203 тыс.
Курск - врата Рая / Новости / Шпак
1:14:35
super/MRO, Python's most misunderstood feature.
21:07
Просмотров 216 тыс.
Composition Is Better Than Inheritance in Python
23:29
Просмотров 257 тыс.
Protocol Or ABC In Python - When to Use Which One?
23:45
Python super() - A Simple Illustrated Guide
12:22
Просмотров 5 тыс.
SUPER() in Python explained! 🔴
13:06
Просмотров 6 тыс.
Python super. How does it work?
4:22
Просмотров 1,2 тыс.
🔥НОВАЯ БАТАРЕЯ?😮
00:40
Просмотров 203 тыс.