Python Object Oriented Programming for COMPLETE Beginners - Classes and Objects

Sdílet
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

Komentáře • 41

  • @doktor.paichiwo
    @doktor.paichiwo Před 11 měsíci +4

    What happened Hala? Please come back to yt, your tutorials are really good and we miss them :) all the best

  • @smnomad9276
    @smnomad9276 Před 4 měsíci +1

    Where have you gone? Your content is one of the best in the field!

  • @paoladececco
    @paoladececco Před 9 měsíci +2

    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!

  • @jemilnasir7884
    @jemilnasir7884 Před 22 dny +1

    I want to see more of your python tutorial
    You are great Hala

  • @srali7609
    @srali7609 Před 3 měsíci +1

    thank you soo much for making this easy to understand

  • @kychemclass5850
    @kychemclass5850 Před 9 měsíci +1

    I love your Videos. Thanks!!!

  • @matiascavalcante4698
    @matiascavalcante4698 Před rokem

    Thanks for this video! Is much appreciated 🎉

  • @sphere1980
    @sphere1980 Před rokem

    Nice explanation, gr8 video Hala!

  • @gabrielbolaji8617
    @gabrielbolaji8617 Před rokem

    It's nice, I love it, keep it up

  • @wormholeinteractive
    @wormholeinteractive Před 4 měsíci

    Amazing explanation!

  • @akhalil20002000
    @akhalil20002000 Před 5 měsíci

    Good tutorial.please go on valuable work ❤

  • @princeadvance6237
    @princeadvance6237 Před 8 měsíci

    Thanks for this video

  • @tomaszwisniewski319
    @tomaszwisniewski319 Před rokem

    Thank you for the, very nice explanation

  • @whs861
    @whs861 Před rokem

    Thank you for this lesson

  • @user-yp5mt5xw6r
    @user-yp5mt5xw6r Před rokem +1

    Thank You Mam For ThIs Video😃

  • @dipak_chandra
    @dipak_chandra Před rokem

    Hi Hala Your Teaching is Amazing❤

  • @Gero141
    @Gero141 Před rokem

    Very nice.

  • @vasbkamarxil1260
    @vasbkamarxil1260 Před rokem

    очень интересно, спасибо!!!

  • @sampathudana1321
    @sampathudana1321 Před 7 měsíci

    Thanks hala

  • @pdep
    @pdep Před rokem

    Excellent presentation. I'm looking fwd to the more adv'd 2nd part - inheritance etc. Any possible publication date in mind yet?

  • @lnone4944
    @lnone4944 Před rokem

    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.

  • @JavaMike71
    @JavaMike71 Před 6 měsíci

    We miss your videos Hala.... Please come back to us.

  • @Tri-Technology
    @Tri-Technology Před rokem

    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?

  • @fbarr050
    @fbarr050 Před rokem

    Hello Hala. Have you tried making an ui using the library pyside6?

  • @ivansergiopocohuancacama3121

    Waiting for the next class

  • @princeadvance6237
    @princeadvance6237 Před 8 měsíci

    You made mention of a continuation to this video,where can I find it please

  • @dmevermajewellers7196
    @dmevermajewellers7196 Před 11 měsíci

    Hello Hala, you are great .. i want learn how can python user form data in to google sheet

  • @theTwistedBanana
    @theTwistedBanana Před rokem

    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

  • @tastonic30
    @tastonic30 Před 11 měsíci

    Hi Hala can you please do a tutorial for pyqt with qthread and pyqtsignal
    Having a nightmare

  • @tokenizedgameplay
    @tokenizedgameplay Před 15 dny

    @codefirstwithhala the next video please

  • @3-ms9qh
    @3-ms9qh Před rokem

    ارجوووووووووووك ... هل أستطيع السماح للمستخدم انشاء بروفايل واحد في قاعدة الوقت الفعلي ؟ حار جدا على معرفة السؤال لاني ادخل في مشكلة ..... firebase realtime databease

  • @davidshady8869
    @davidshady8869 Před 8 měsíci

    Hey do you have like a discord or something where someone could go ad ask.you questions?

  • @AbdelkaderBenSellam
    @AbdelkaderBenSellam Před 8 měsíci

    hello any news from hala ? no more video?

  • @alexandrosdimiropoulos4768

    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__?

    • @codefirstwithhala
      @codefirstwithhala  Před rokem +5

      __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.

    • @alexandrosdimiropoulos4768
      @alexandrosdimiropoulos4768 Před rokem

      @@codefirstwithhala Ok, thanks! I think I get it now.

  • @JoelPasapera
    @JoelPasapera Před rokem

    what mean
    if __name__ == "__main__"?

  • @EzerbelCN
    @EzerbelCN Před rokem

    🥰

  • @SethFX
    @SethFX Před 8 měsíci

    Come back

  • @BenThomasAI
    @BenThomasAI Před 9 měsíci

    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

  • @rottenmouldybrain
    @rottenmouldybrain Před 4 měsíci

    Abysmal. All your tutorial does for a "complete beginner" is utterly confuses him.