Python Object Oriented Programming for COMPLETE Beginners - Classes and Objects
Vložit
- čas přidán 24. 07. 2024
- Learn Python Object Oriented Programming (OOP) in under 15 minutes. Learn about Python classes and objects.
In this video, you will:
- Learn about OOP in Python
- Learn about classes in Python
- Learn about objects in Python
- Learn about class attributes in Python
- Learn about class methods in Python
Timestamps:
00:00 Introduction
00:08 What are classes and objects in Python?
00:26 Classes and objects analogy
01:38 Create a class in Python
04:25 _init_ function in Python
05:56 Class attributes in Python
11:38 Class methods in Python
13:34 Recap and outro
Icon credits:
The dog and blueprint icons at the start of the video are from flaticon.com
Socials:
My email: code.first.io@gmail.com
Tiktok: / hala.codes
*************
*Tags*
Python OOP
Python Object Oriented Programming
Python OOP tutorial
Object Oriented Programming Python
Python Classes and Objects
Python Classes - Věda a technologie
What happened Hala? Please come back to yt, your tutorials are really good and we miss them :) all the best
Where have you gone? Your content is one of the best in the field!
Hala, fantastic teaching level, right speed and all. Especially for people like me, that have a basic understanding of programming logic in other languages, but still fresh to python. Other authors either make it too boring or skip too many details, you get straight to the point with the essential. Thank you!
I want to see more of your python tutorial
You are great Hala
thank you soo much for making this easy to understand
I love your Videos. Thanks!!!
Thanks for this video! Is much appreciated 🎉
Nice explanation, gr8 video Hala!
It's nice, I love it, keep it up
Amazing explanation!
Good tutorial.please go on valuable work ❤
Thanks for this video
Thank you for the, very nice explanation
Thank you for this lesson
Thank You Mam For ThIs Video😃
Hi Hala Your Teaching is Amazing❤
Very nice.
очень интересно, спасибо!!!
Thanks hala
Excellent presentation. I'm looking fwd to the more adv'd 2nd part - inheritance etc. Any possible publication date in mind yet?
Hello Hala, thank you so much for your help. I have a question though: how would you insert a dataframe into an excel template where the excel template has merged rows and merged columns? Thank you.
We miss your videos Hala.... Please come back to us.
Thank you that clarified a lot. But I still don't get the oop structure for GUIs. When does it make sence to create a new class or object? Why is the code of Qt Creator structured like it is. When should I refer to a new file?
Hello Hala. Have you tried making an ui using the library pyside6?
Waiting for the next class
You made mention of a continuation to this video,where can I find it please
Hello Hala, you are great .. i want learn how can python user form data in to google sheet
can you please help me with my GUI? when i run my program on other PC with different size, the gui is so big that some of the objects cant be seen. I want my gui to adjust according to the different monitors it runs on
Hi Hala can you please do a tutorial for pyqt with qthread and pyqtsignal
Having a nightmare
@codefirstwithhala the next video please
ارجوووووووووووك ... هل أستطيع السماح للمستخدم انشاء بروفايل واحد في قاعدة الوقت الفعلي ؟ حار جدا على معرفة السؤال لاني ادخل في مشكلة ..... firebase realtime databease
Hey do you have like a discord or something where someone could go ad ask.you questions?
hello any news from hala ? no more video?
The thing I don't understand is why use def __init__ specifically and not another name, def abc, for example. That abc function will also run imediately. Why use __init__ instead of any other? That is something I don't understand, what is so special with __init__?
__init__ is meant for initializing the class attribute values and is run immediately upon creation. if you use “def abc” like you suggested, that function would not run immediately, you’d need to call it explicitly like “maxx.abc()”. However, when you instantiate a new object like this “maxx=Dog()”, as soon as you create the Dog() object, Python will immediately execute __init__ behind the scenes. This is how Python classes are wired.
@@codefirstwithhala Ok, thanks! I think I get it now.
what mean
if __name__ == "__main__"?
🥰
Come back
Dear Hala,
Your videos and Stack Overflow helped me a lot in advancing python learning. Whenever I am stuck in coding, I will look into your videos and find a solution right out there. Thanks a lot for your free tutorials. You teach advanced things in an easy and simple way and your teachings are very well suitable for making day to day practical applications than compared to many other academic teachings. With the help of your videos, I made a trading platform connecting broker API. Thank you very much. But its so sad that there are no new videos from you for the last six months. What happened. Please don't stop your teachings. World needs people like you. We all love you so much. Eagerly waiting for your videos...Best regards
Abysmal. All your tutorial does for a "complete beginner" is utterly confuses him.