#29 Inheritance in Python | Python Tutorials for Beginners in Hindi

preview_player
Показать описание
This video talks about:
- Inheritance
- Inheritance in Python
- Implementing Inheritance in Python
- Why we need Inheritance
- MRO in Python
- Inheriting multiple classes

Some Playlist's you may like:

If you still have any doubt comment below or get connected onLinkedIn.
Some useful links:

#college #thedatasingh

Python Programming for Beginners
Python Programming
Python
OOPS in Python
Object Oriented Python
Creating a class in python
Python tutorials
Python tutorials in Hindi
Python for Data Science
Python for Web Development
Python for Game Development
Python 2021
Inheritance
Inheritance in Python
Types of Inheritance
MRO in Python
Multiple Inheritance
Multi level Inheritance
Single Inheritance in Python
Python OOPS

#python #thedatasingh
Рекомендации по теме
Комментарии
Автор

Hey The Data Singh, nice to meet you! I just found your channel, love what you're doing!

I like how clear and detailed your explanations are as well as the depth of knowledge you have surrounding the topic! Since I run a tech education channel as well, I love to see fellow Content Creators sharing, educating, and inspiring a large global audience. I wish you the best of luck on your YouTube Journey, can't wait to see you succeed! Your content really stands out and you've put so much thought into your videos, I applaud you on that!

Cheers, take care, and keep up the great work ;)

empowercode
Автор

Is there a preferred or python way of Instantiating an object that inherits from 2 classes?

For example, this class inherits from Qt,

class
def __init__(self, *args, **kwargs):
super(MainWindowReceiver, self).__init__(*args, **kwargs)

And I can open the gui by just instantiating with no arguments:

main = MainWindowReceiver()
main.show()

However, if I make the class inherit from PyQt AND multiprocessing,

class MainWindowReceiver(QtWidgets.QMainWindow, mp.Process):

then I can't instantiate by just passing the multiprocessing argument:

out_pipe = mp.Pipe()
p1 = MainWindowReceiver(out_pipe)
p1 =
p1 = MainWindowReceiver(, pipe=out_pipe)
p1.show()

How can this class be instantiated (and gui opened) by only passing the pipes name-value pair argument?

bennguyen
join shbcf.ru