Python Classes in 1 Minute!

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ต.ค. 2023
  • ⭐ Join my Patreon: / b001io
    💬 Discord: / discord
    🐦 Follow me on Twitter: / b001io
    🔗 More links: linktr.ee/b001io

ความคิดเห็น • 120

  • @bobtheoutbuilder8552
    @bobtheoutbuilder8552 8 หลายเดือนก่อน +392

    dafuqqq.., you can call "self" whatever you want, I'm programming in Python for like 6 years and never knew that.

    • @reguret2976
      @reguret2976 8 หลายเดือนก่อน +27

      how'd you even start programming, you learn this in most tutorials

    • @bobtheoutbuilder8552
      @bobtheoutbuilder8552 8 หลายเดือนก่อน +93

      @@reguret2976 I was like 13 and didn't understand English so I just did what they did without understanding...

    • @xxlarrytfvwxx9531
      @xxlarrytfvwxx9531 8 หลายเดือนก่อน +36

      Just don't use "this" that's an Easter egg.

    • @jaserogers997
      @jaserogers997 8 หลายเดือนก่อน +39

      ​@@reguret2976 why would he need to know useless information like that to start coding.

    • @E.P.I.C...
      @E.P.I.C... 8 หลายเดือนก่อน +1

      Bro, my mind is blowing 🤯

  • @yuval_kahan
    @yuval_kahan หลายเดือนก่อน +5

    Amazing how some people can explain something in such a short time that takes an hour for someone else
    ...on the spot! Thank you so much!!

  • @thetraitor3852
    @thetraitor3852 8 หลายเดือนก่อน +115

    This is a pretty good and quick explanation. I hope to see more. Maybe some tips for VS code as well.

  • @vernanonix
    @vernanonix 5 หลายเดือนก่อน +9

    I'm in a class right now and my adhd is running wild and I could not make sense of these things. And then I found this and it's essentially, to my understanding, just attaching methods to variables and that makes it make so much more sense to me.

  • @OmT-yp8bx
    @OmT-yp8bx 19 วันที่ผ่านมา

    I WAS STRUGGLING ON CLASSES AND THIS REALLY HELPED CLEAR THINGS UP THANK YOUUUU!

  • @alvinpierre-louis2586
    @alvinpierre-louis2586 4 หลายเดือนก่อน +1

    Probably the best tutorial i've seen on Python classes so far. Everyone else on TH-cam just seems like their endlessly talking about nothing

  • @_Ayke
    @_Ayke 4 หลายเดือนก่อน +11

    I love the videogame analogy. I understand it more easily with a game. Thank you!

  • @user-ih5ng6qk4p
    @user-ih5ng6qk4p 8 หลายเดือนก่อน +4

    classes was so intimating to me, with this example it made it so clear! thanks !

  • @KsMemess
    @KsMemess 29 วันที่ผ่านมา +1

    I never thought a 2 min video could teach me so much...

  • @maxcohen13
    @maxcohen13 8 หลายเดือนก่อน +10

    These are awsome and easy-to-digest bits that make learning so much easier. So many tutorials out there are just blabbing away and wasting time.
    Thanks for these!

  • @executism
    @executism 7 หลายเดือนก่อน +7

    Brief and concise explanation while delivering it well in a comprehensive manner. Thank you.

  • @KeysXTheGamer
    @KeysXTheGamer หลายเดือนก่อน +1

    now i really understand classes. aint no way i just handled a complex concept in 1 minute and now i know what classes can do. thanks.

  • @northernandyboy
    @northernandyboy 5 หลายเดือนก่อน

    Wow! been battling to understand this concept and you explained it in 1 minute.

  • @duffel87
    @duffel87 8 หลายเดือนก่อน +2

    Im currently enrolled in Data Science MSc.This video is great! thank you

  • @TMOD68
    @TMOD68 หลายเดือนก่อน

    Bro that was so helpful,its just 1min and really the best tutorial what i ever saw

  • @PeksEpicMusic
    @PeksEpicMusic 2 หลายเดือนก่อน

    I understood more about classes than a full explanation in a course this was legit!

  • @SirIsaacNewton-bf6se
    @SirIsaacNewton-bf6se 8 หลายเดือนก่อน +4

    very informative and just to the point. thank you so much 😊

  • @SumantaSarkarUK
    @SumantaSarkarUK หลายเดือนก่อน

    Excellent illustration. To the point ❤

  • @cyberdevil657
    @cyberdevil657 5 หลายเดือนก่อน

    THANK YOU! You saved me a LOT of headache!

  • @Shariqwastaken
    @Shariqwastaken 5 หลายเดือนก่อน

    Short and easy to understand, Great job🔥

  • @robertodanielmedinadomingu9016
    @robertodanielmedinadomingu9016 9 หลายเดือนก่อน

    Thank you!! I needed this so bad!

  • @ForRo3sS
    @ForRo3sS 2 หลายเดือนก่อน

    Beother that was the best explanation :):) ı have just started learning and couldn’t get my head around. Now ı know! Thanks!

  • @arcanelore168
    @arcanelore168 6 หลายเดือนก่อน

    Excellent explanation! Keep on rockin!

  • @Reduckreal
    @Reduckreal 4 หลายเดือนก่อน

    as someone who is just dipping their toes into programming this is such a nice and concise tutorial, really helped cause my adhd brain could barely get through 10 minutes of the 2 hour long lesson :)

  • @yohandhananjaya6041
    @yohandhananjaya6041 9 หลายเดือนก่อน +12

    Great explanation, so easy to understand ❤

  • @_silentrose
    @_silentrose 8 หลายเดือนก่อน

    Amazing video and perfect timing!! I just finished a section in my course on classes and created a deck of cards 😊♦♣♥♠

  • @alionakrevsun7101
    @alionakrevsun7101 3 หลายเดือนก่อน

    Thank you. This vidio help me for create own game and a firt project. Shortly, quicly and cleary.

  • @arttheart130
    @arttheart130 7 หลายเดือนก่อน

    Beautiful explanation, thank you

  • @danda_legenda
    @danda_legenda 8 หลายเดือนก่อน

    What color theme do you use? It looks so good.

  • @17ashishemmanuel
    @17ashishemmanuel 9 หลายเดือนก่อน

    Cool. Also, when are you gonna finish your Javascript course

  • @VIIben
    @VIIben 7 หลายเดือนก่อน

    How/why does your terminal look like that, like the spot where you can type and the line directly above it?

  • @kimsungho4114
    @kimsungho4114 2 หลายเดือนก่อน

    Thank you for the awesome video!

  • @mika2597
    @mika2597 วันที่ผ่านมา

    I don't know why but this channel is the only one that can give me understanding. 😅👍👍👍🎉

  • @Blaxolot
    @Blaxolot 9 หลายเดือนก่อน +1

    Great video, you explained it clearly in a short time 🙂

  • @sergiorubencampero8479
    @sergiorubencampero8479 9 หลายเดือนก่อน

    Great video! I need more how to python videos !

  • @antonellomascarello4698
    @antonellomascarello4698 3 หลายเดือนก่อน

    Brilliant!!

  • @akhmadchaidar4045
    @akhmadchaidar4045 6 หลายเดือนก่อน

    what's theme that you use?

  • @Debelinka
    @Debelinka 8 หลายเดือนก่อน

    My fav channel 💪🏼💪🏼

  • @assem6084
    @assem6084 2 หลายเดือนก่อน

    How about an item and extras in the bag like ammunition and a first aid bag Store them

  • @user-xo4rr5en3e
    @user-xo4rr5en3e 8 หลายเดือนก่อน +1

    OMG, finally i understand class thanks bro ❤

  • @WadieGamer
    @WadieGamer 4 หลายเดือนก่อน

    My dog understood this tutorial, God what a beautiful way of explaining.

  • @HorridOnlineTroll
    @HorridOnlineTroll 8 หลายเดือนก่อน +1

    Python trying its absolute hardest to be an OOP language for absolutely no reason, bro just stay functional

  • @FreshSheets
    @FreshSheets 9 หลายเดือนก่อน +1

    Damn that was good bro

  • @kaushalshailbinha7365
    @kaushalshailbinha7365 5 หลายเดือนก่อน

    short and best explanation for class in python 🙂

  • @GHAITHMSON
    @GHAITHMSON 3 หลายเดือนก่อน +1

    perfect thank you so much

  • @cybercop47
    @cybercop47 7 หลายเดือนก่อน

    very helpful I didn't understand what _init_ and what self meant now I know

  • @froggee749
    @froggee749 8 หลายเดือนก่อน

    theme?

  • @paulogaviola5522
    @paulogaviola5522 6 หลายเดือนก่อน

    dude, what the heck. Thanks!

  • @grimreaper4801
    @grimreaper4801 4 หลายเดือนก่อน

    OMFG just explain soo fucking well for me. midterm in 2 hour.

  • @AskforQAli
    @AskforQAli 9 หลายเดือนก่อน

    Awesome format

  • @traumdeuter8229
    @traumdeuter8229 7 หลายเดือนก่อน

    i still don't get what "self" is for, isn't in useless?

  • @hassansyed6087
    @hassansyed6087 2 หลายเดือนก่อน

    Wait, why didn't the ninja's speed double? I kinda lost that part

  • @hossein4903
    @hossein4903 9 หลายเดือนก่อน

    very easy explanation thank you

  • @johanneszwilling
    @johanneszwilling 7 หลายเดือนก่อน

    😎 MOAR!!

  • @rupaksaha9050
    @rupaksaha9050 9 หลายเดือนก่อน +8

    Nice video :D Also I am the first one here 😂 I see how this can be useful in recycling old code

  • @KeithFlint350
    @KeithFlint350 9 หลายเดือนก่อน

    85 second and I know all that I needed to know!

  • @tiwongemalomboza9993
    @tiwongemalomboza9993 8 หลายเดือนก่อน

    #Inserts a class in my code#
    Python: its a class.... Init?

  • @chrishabgood8900
    @chrishabgood8900 2 หลายเดือนก่อน

    this is one reason why I prefer ruby, self is the instance so you do not have to pass it in.

  • @hanging_with_my_gnomies626
    @hanging_with_my_gnomies626 8 หลายเดือนก่อน +1

    Best python TH-camr out there🤌

  • @demonshooter1521
    @demonshooter1521 5 หลายเดือนก่อน

    verry usefull video but i have a question : whta doest the "f" stand for whent you type "print(f"warior speed: {warrior.speed}")" ?

    • @okay8454
      @okay8454 4 หลายเดือนก่อน

      if you havent gotten your answer the f indicates an f-string which allows you to use the brackets {} to put variables directly into the string

  • @5hobbzi
    @5hobbzi 4 หลายเดือนก่อน

    thankyou

  • @mightyphaeris5053
    @mightyphaeris5053 7 หลายเดือนก่อน

    THANK YOU

  • @Kaido20
    @Kaido20 4 วันที่ผ่านมา +1

    Wow... you made thinks 10x easier thanks

  • @akshayvengal451
    @akshayvengal451 5 หลายเดือนก่อน

    Hey, do you have any python course created by you for beginners? I really like your teaching style, would like to join the course if it is available.

  • @abdultheseekerofknowledge4453
    @abdultheseekerofknowledge4453 8 หลายเดือนก่อน

    Is OOP Python good, all i see is function based usage in Python community most of the time

  • @that_guy1211
    @that_guy1211 5 หลายเดือนก่อน

    damn, and even after this i still don't know where classes are actually required to use ,.,

  • @SpesMagisteriiGradus
    @SpesMagisteriiGradus 4 หลายเดือนก่อน

    ngl this is soooo good, but i must add i am really good at python, i just never had to build classes for w while without gpt lol, so if youre a beginner and youre confused it's a good general overview

  • @blackholesun4942
    @blackholesun4942 8 หลายเดือนก่อน +3

    Can you add another variable in double_speed ?

    • @b001
      @b001  8 หลายเดือนก่อน +1

      Yes

  • @pablofueros
    @pablofueros 9 หลายเดือนก่อน +3

    Nice video! Btw, what's the theme?

    • @b001
      @b001  8 หลายเดือนก่อน +2

      SynthWave’84

  • @Erfan_daneshmand
    @Erfan_daneshmand 5 หลายเดือนก่อน

    short and great

  • @rfm412
    @rfm412 8 หลายเดือนก่อน

    Can you elaborate on self?

  • @sydneyreyes4207
    @sydneyreyes4207 8 หลายเดือนก่อน

    can you finish your python playlist im'ma python video marathon..

  • @powerporridge1337
    @powerporridge1337 9 หลายเดือนก่อน

    brilliant ! 🎉

  • @kahytera9488
    @kahytera9488 8 หลายเดือนก่อน

    what a your themes?

  • @olagarto1917
    @olagarto1917 3 หลายเดือนก่อน

    aint separate instance atribution, like, the defoult? i dont get it
    if i call warrior.double offcourse it is ment to use the double inside the warior and not any other arbitrary stuf... so what is the point of telling the thing tha it is itsef?

  • @goforward684
    @goforward684 4 หลายเดือนก่อน

    You sir just make 24 minutes into 1 minutes

  • @Boofski
    @Boofski 8 หลายเดือนก่อน

    We need a b002 for Java

  • @mohammedhaidar3200
    @mohammedhaidar3200 8 หลายเดือนก่อน

    Nice vid👍

  • @muhamedrdrdtdt
    @muhamedrdrdtdt 4 หลายเดือนก่อน

    I'm struggling to grasp what self does

  • @JASHiNSENNiN
    @JASHiNSENNiN 8 หลายเดือนก่อน

    Wooaahh whats your color scheme?

  • @Aman-cg2yt
    @Aman-cg2yt 2 วันที่ผ่านมา

    Like switch function

  • @Viski982
    @Viski982 9 หลายเดือนก่อน +2

    hey man can you tell me the theme name ?

    • @b001
      @b001  8 หลายเดือนก่อน +2

      SynthWave’84

    • @Viski982
      @Viski982 8 หลายเดือนก่อน +1

      @@b001 Thank you! Thanks! Thank you so much! Splendid! I appreciate you! I gave you my love! Let me have your permission to give you my appreciation! Nice! Much love!

  • @TheMrNairo
    @TheMrNairo 8 หลายเดือนก่อน

    Бам бам бим бим

  • @hmmmmokayidc
    @hmmmmokayidc 4 หลายเดือนก่อน

    DAIMMMMMMMMMMMMMM

  • @sahildas.
    @sahildas. 8 หลายเดือนก่อน

    W explanation

  • @TestyCool
    @TestyCool 7 หลายเดือนก่อน

    "The definition of genius is taking the complex and making it simple."
    --Albert Einstein

  • @RIPPAHHHCC
    @RIPPAHHHCC 3 หลายเดือนก่อน

    is this Jesus' reincarnation? THANK YOU

  • @penguinz0fan253
    @penguinz0fan253 8 หลายเดือนก่อน

    nerf ninja

  • @Kot-hi4gk
    @Kot-hi4gk 3 หลายเดือนก่อน

    люблю тебя

  • @user-le2kc4qo2d
    @user-le2kc4qo2d 4 หลายเดือนก่อน

    d

  • @GaryChike
    @GaryChike 7 หลายเดือนก่อน

    class Character:
    def __init__(b001, health, damage, speed)

  • @muhamedrdrdtdt
    @muhamedrdrdtdt 4 หลายเดือนก่อน

    I'm struggling to grasp what self does