10 Important Python Concepts In 20 Minutes

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 136

  • @Carlos-dev-53
    @Carlos-dev-53 Місяць тому +139

    Hi, everybody ! In october I will turn 71 and I will go on learning Python with Idently classes ! Digging in with your amazing classes ! (Brazil - 09/29/2024)

    • @rytis3005
      @rytis3005 Місяць тому +3

      Nicee

    • @marcelleza
      @marcelleza Місяць тому

      Boa, conterrâneo! Nunca é tarde.

    • @lampshxde
      @lampshxde Місяць тому

      @@rytis3005
      z

    • @lat.fn6
      @lat.fn6 Місяць тому +6

      You are cooked 🎉🎉🎉🎉🎉

    • @annadath69
      @annadath69 Місяць тому +3

      Live long sir

  • @rdwells
    @rdwells 26 днів тому +12

    "A class is just a blueprint". I've been using that same line with my students for years, and last semester it dawned on me to ask if any of my students had ever seen a blueprint, or even knew what one is. Not a single hand went up. But it's such a good analogy that now I just take a minute or two to explain what a blueprint is, and carry on.

  • @josejaimecome
    @josejaimecome 11 днів тому +6

    Good foundation to whom need to know Python. Also, do not stop here, learn tips and tricks, NumPy for arrays, Pandas for dealing with data, important libraries like scikit-learn for Machine Learning and frameworks like Flask and Django for web development. Also, do not forget to choose the path you need follow.

  • @HusamJamal
    @HusamJamal День тому

    I love how you simplify the concept and explain the code quick enough for others to get it. Great video. Thanks!

  • @aronrissato1044
    @aronrissato1044 17 днів тому +2

    "whether it's because we are drunk, tired or just not that attentive..." 3:45 great video, thanks

  • @poru208
    @poru208 3 місяці тому +19

    This is one of the most understandable intros for Python I have seen. Really great, thanks.

  • @fish7828
    @fish7828 3 місяці тому +45

    Python is such a nice feeling language to interact with, channels like this are so nice for learning all the little features :)

  • @MariannePinette
    @MariannePinette 3 місяці тому +13

    Your post was created 2 years ago, but it's still helping newcomers.

  • @waquarhassan3159
    @waquarhassan3159 3 місяці тому +13

    I usually do not comment on the UA-cam videos but this one really helps me to understand the syntax properly. As I am aware of other programming languages and Just wanted to know the Python working and the syntax. This video is helpful.
    Thank you 😊

  • @alexcheung8316
    @alexcheung8316 13 годин тому

    Great work! I am new to python, and I just found a code using ‘self’. I have absolutely no idea what is self refer to.😂 now, I know. It is the way how python usually refer to its class 🙏🏻

  • @TheGoodShepherdsSheep
    @TheGoodShepherdsSheep 16 годин тому

    This was a great video, the way you explain classes was probably the best I’ve watched so far 👌

  • @DucatiSydney
    @DucatiSydney Місяць тому +3

    For anyone that has been stuck in the unending loop of learning python, this video is a cornerstone for all. Methods well explained and all the concepts are a bliss to me now.

    • @zimizi
      @zimizi Місяць тому

      i still dont get it haha

  • @caxapok2-u3z
    @caxapok2-u3z 15 днів тому +1

    I work as a taxi driver, my age is 46. 1 year ago I started to learn Python also learn English and I wonder myself I make great success because sometimes I write more efficiency code than programmers who is in this filed more than 10 years. I started to learn because I had problems my memory and my doctor told me because I am mathematician by my education to try this.

  • @doodahgurlie
    @doodahgurlie 3 місяці тому +7

    Love the humor (first with the mis-typing of what should be an easy word) then the comment about being drunk. Difficult subjects go down easier with humor for those of us whom aren't born to think like a developer.

  • @SoftMusicFamily
    @SoftMusicFamily 8 днів тому

    He gave an excellent explanation of classes!

  • @antoniolay984
    @antoniolay984 Місяць тому

    This is the best bite-size video to consume for the concept blueprint of Python. Superb explanation, to the point+concise+precise!!! Godbless you my man!!!

  • @joehernandez3231
    @joehernandez3231 Місяць тому

    This video is great to quickly fill in some gaps for someone, like me, that is new to Python but has experience in other languages (C# and others in my case). There's obviously plenty more to learn, but this short video provided a big boost.

  • @facefamousee
    @facefamousee 2 місяці тому +1

    The idea of classes is enlightened. Thank you. 👌

  • @jitendravishwakarma7949
    @jitendravishwakarma7949 3 місяці тому +2

    Watch and completed many UA-cam videos, but this one teaches a lot! Thanks for this video :)

  • @subject-no.3
    @subject-no.3 2 місяці тому

    great, now i have a clear roadmap and also i know what is waiting for me ahead.

  • @X9Larvva
    @X9Larvva Місяць тому +1

    Thank you for such a easy and accurate explanations.
    Main reason why I subscribed to you, accurate, normal paced & easy to understand explenations!
    Love you

  • @Buyongjajangman
    @Buyongjajangman 2 місяці тому

    instantly understood better about the structure and the definition of a class, its instances/objects, and the difference between function and method just from the explanation in this video.
    i even got to know about dunder methods which I can already imagine will be tremendously useful in the future.
    thank you so much for the video!

  • @tedonica
    @tedonica 2 місяці тому +2

    Eye opening! This is a great intro to these concepts

  • @laylaxoxo5719
    @laylaxoxo5719 3 місяці тому +9

    I like how you use every opportunity to pitch python type annotations 🙃
    Anyways, great video tho!! as always

  • @benwinstanleymusic
    @benwinstanleymusic Місяць тому

    Thank you so much, helped me plug holes in my knowledge about classes. Have a good day!

  • @wirrexx
    @wirrexx 2 місяці тому

    Very clear and easy to follow. Examples are great. Thank you.

  • @ЮрийБ-о6е
    @ЮрийБ-о6е 3 місяці тому +4

    NIce video as always :) A few additional info for newbees:
    1) Constants inside functions are recommended to be defined using the lower case
    2) init does not create instance it works with object returned by new (so it's supposed to be an instance) I feel you simplify this intentionally to fit in 20 min :))
    3) dunder variables would be also interesting

    • @DrDeuteron
      @DrDeuteron 3 місяці тому +2

      I read your comment before he got there, so I was listening. I think he said init sets up an instance, which is true. He did not say create, which is done in the dunder new (of the meta class right?) Obviously it can't create the init because he type hinted it to return None

  • @mamuli01
    @mamuli01 Місяць тому

    This Tutorial Is really good for those who have learnt python before and came back for a summary it will be hard for those who dont have any prior knowledge of python, On the other hand it was a God sent video for me as i have an interview in the next 3 hours so i was looking to clear up some basics. Thank you @Indently

  • @shimmeringreflection
    @shimmeringreflection 3 місяці тому +1

    Good tip for specifying type right from the getgo

  • @alexcate2450
    @alexcate2450 19 днів тому

    Thank you this has helped me so much

  • @hermannweinzierl5731
    @hermannweinzierl5731 2 місяці тому

    not so bad. Thank you for all the introduction. Did help a lot to understand the logic behind

  • @rohanbhardwaj3537
    @rohanbhardwaj3537 2 місяці тому

    Finally understood dunder method

  • @RLPlays
    @RLPlays День тому

    Man kkkk the part you said "as programers we are bounded to make mistakes, either because we're drunk, yada, yada" make me burst laughing lmao its so relatable

  • @SaintJames14
    @SaintJames14 19 днів тому

    Outstanding video

  • @Warley.Araujo
    @Warley.Araujo 24 дні тому

    Great Video Explanation!!

  • @cocoatea57
    @cocoatea57 3 місяці тому +1

    You're the best Freddie 💯✅

  • @mixme8655
    @mixme8655 2 місяці тому

    Thank you sir❤ new subscriber and beginner in Python

  • @loverboykimi
    @loverboykimi 3 місяці тому +2

    Gold content as always.

  • @richardbennett4365
    @richardbennett4365 26 днів тому

    My python allows the creation of the following:
    unique_no = {1, 3, 8, 2, 9, 8}
    Jupyter notebook running a python kernel does not complain about that assignment.
    The presenter already used double underscores on both sides of init in the class definition. He didn't need to make another example.

  • @Musciallyrical
    @Musciallyrical Місяць тому

    great explanation

  • @mhdfahdaldebes578
    @mhdfahdaldebes578 2 місяці тому

    Clear and unique 👌

  • @academicresourcesaccountfo9176
    @academicresourcesaccountfo9176 19 днів тому

    This is so intersting!

  • @cmespy2005
    @cmespy2005 2 місяці тому

    Well done! Thank you so much

  • @EtienneT
    @EtienneT 2 місяці тому

    This was such a great video, it's so important

  • @chrisogonas
    @chrisogonas 3 місяці тому

    Very well illustrated! Thanks

  • @kotlin5608
    @kotlin5608 20 днів тому

    in the last example, 'other' can also be: "other: 'Car'"

  • @1Clamberto1
    @1Clamberto1 Місяць тому +1

    tell me you learnt JS before python, without telling me you learnt JS before python. but all jokes aside great video

  • @EmilioAt77
    @EmilioAt77 2 місяці тому

    "whether because we are drunk.." hahaha nice one, lad. Great content! 🙏🏻🍻

  • @aaaaaaaa2008-h8z
    @aaaaaaaa2008-h8z Місяць тому

    Thanks!

  • @casualchou
    @casualchou 3 місяці тому +2

    Great video

  • @randycny
    @randycny 2 місяці тому

    Video was good. You didn't mention f strings when you first used it. Just FYI.
    It was a nice review. ;)

  • @simphiwehlela5399
    @simphiwehlela5399 3 місяці тому +1

    Wonderful insight

  • @anon_y_mousse
    @anon_y_mousse 3 місяці тому +1

    I would argue that in example 10, that address isn't even useful for the programmer. However, with regards to constants, could you not overload the assignment operator for a class and prevent assignments from altering the constant? I know that's likely pointless since the user could override the function, but it would at least be one more step you could take which might prevent accidental reassignments. Also, why don't type annotations generate errors? I was playing with 3.11 and I'd swear that they generated errors in function signatures, but 3.14 doesn't, so either they changed that behavior or I was remembering incorrectly, but either way I think they should generate errors within the language interpreter in all cases where you use the wrong type.

  • @liji8672
    @liji8672 29 днів тому

    Hi, I wanna ask you a question: what IDE do you use? thanks a lot

  • @michaelrstudley
    @michaelrstudley 3 місяці тому

    Another great video, thank you

  • @BreuerTimo
    @BreuerTimo 3 місяці тому

    Really great,thanks

  • @syedjahanzaibazhar6610
    @syedjahanzaibazhar6610 4 дні тому +1

    Hi , I want to learn python. But there are so many videos and material available on UA-cam. It is impossible to follow all. Please guide me from where I should take start . Thanks

  • @Techfree123
    @Techfree123 12 днів тому

    Wau very nice❤❤❤

  • @buzzbuzz20xx
    @buzzbuzz20xx 3 місяці тому

    Amazing video !!!

  • @vladimirpain3942
    @vladimirpain3942 Місяць тому

    "Wheter we are drunk, tired or not that attentive".... sounds about right.

  • @rapture_05_14
    @rapture_05_14 2 місяці тому

    nice explaination

  • @lexbeukel9949
    @lexbeukel9949 Місяць тому

    6:48 sorry to mention it, but that is pretty easy, ctrl + h to replace the text

  • @jimfuqua3170
    @jimfuqua3170 2 місяці тому

    I've watched a few of these videos. No one has yet explained to me how creating a variable "name" and entering that instead of "Bob" is more efficient.

    • @AayaatAlakhras-Codegirls
      @AayaatAlakhras-Codegirls 2 місяці тому

      You can name your variables anything, it doesn't change the code at all, except readability, badly naming variables makes it much harder to read code and figure out what does what. By naming your variable bob, its just going to make things more confusing, you should think of a variable as a label, so the label would be "name" which holds a name of Bob.

    • @AayaatAlakhras-Codegirls
      @AayaatAlakhras-Codegirls 2 місяці тому

      If your asking why he is creating a variable instead of just using Bob in the print function, then this is why.
      Right now, it doesn't seem to make sense, but that's because the program is only 2 lines of code, in reality, no project that you make will be just 2 lines, it will be 100s, even 1000s, now imagine if you wanted to change bobs name, and you added it to 100s of lines of code, if you didn't use a variable, you would need to read and change so many lines of code, there's bound to be a mistake, and it's not efficient at all, but if you used a variable, all you had to to was go inside the variable "name", change the name, and that's it. It's important to learn these good practices from the beginning, even if you're just learning and your program is just a few lines of code, hope that helps!

  • @mreddy7356
    @mreddy7356 Місяць тому

    Can you explain’OOPs’

  • @AreBaietii
    @AreBaietii 2 місяці тому

    Cool stuff!

  • @francoisxavier4689
    @francoisxavier4689 Місяць тому

    Pour ma part j'utilise Pdf24, Qdir, notepad++

  • @kristiangoranov
    @kristiangoranov 3 місяці тому +9

    Glad to know I’m not the only one programming while drunk lol 🤷‍♂️

  • @Nathan-f4d
    @Nathan-f4d Місяць тому

    Hi to all, I am a 77 year old part time worker. I have started my coding journey and want all support from others to encourage me. Like my post and comment to me so I can wake up and get the python ball rolling. Thanks to all, bye for now lasses and lads.

    • @Liam25025
      @Liam25025 Місяць тому

      Just do it if you’re doing it and never mind asking for likes on a comment

  • @VictorJimenez-dn8qo
    @VictorJimenez-dn8qo 2 місяці тому +2

    What does he mean in 8:11 by "print the f string of hello name"?

  • @MewingStreak31
    @MewingStreak31 Місяць тому

    suggestion: next time, incorporate recursion.

  • @Nihilator
    @Nihilator Місяць тому +5

    Went straight to drunk as the reason for coding errors, hahahaha

  • @suriyaraghavan8731
    @suriyaraghavan8731 3 місяці тому

    Do we need use None in the function its not mandatory right?
    class car:
    def __init__(self,colour: str, horsepower: int) -> None:
    self.colour = colour
    self.horsepower = horsepower

    • @igorthelight
      @igorthelight 3 місяці тому +1

      We don't have to but it's a good habit ;-)
      The reason fir that is if you use an IDE (a code editor with advanced autocomplete) it could prevent you from making silly mistakes!

  • @YollyWinkle
    @YollyWinkle Місяць тому +1

    What compiler are you using becasue when i download python it takes me to the one with >>>
    and i cant run my codes

  • @mertcobanov
    @mertcobanov 2 місяці тому

    which code editor is this?

  • @zimizi
    @zimizi Місяць тому

    it broke my brain when he multiplied volvo with a bmw....

  • @edwinquaihoi8503
    @edwinquaihoi8503 2 місяці тому

    Eventually every untyped language realises that you need types to develop anything of significance .. and then we are back to Java :)

  • @YvonneKelleher-wf6ws
    @YvonneKelleher-wf6ws Місяць тому +2

    I might as well be learning Japanese, could not understand any of this and it is supposed to be for beginners

    • @alexsamho
      @alexsamho Місяць тому

      Haha yes, it’s very hard to understand as a beginner, it is well a new language to learn so it will take a LOOONG time to become proficient

    • @rasheruu
      @rasheruu Місяць тому

      It's called a programmig *LANGUAGE* for a reason

  • @Anis-w5y
    @Anis-w5y 2 місяці тому

    enterprise-ai AI fixes this. important Python concepts summarized.

  • @-.-_._--
    @-.-_._-- 5 годин тому

    i dont see constants giving a warning in any of my IDEs

  • @boredgamesph4872
    @boredgamesph4872 Місяць тому

    3:50
    You forgot to mention: sleepy ( -_-) zzZZZ

  • @DrDeuteron
    @DrDeuteron 3 місяці тому

    type hinting is aiyt, but type hinting dunder init is whack.

  • @FelixSamulevich
    @FelixSamulevich 3 місяці тому

    in association withe the real world it is very easy to follow like -red light in drank condition is green

  • @lancemoon6941
    @lancemoon6941 20 днів тому

    3:50 why am I drunk while programming???? 😂😂

  • @jamesarthurkimbell
    @jamesarthurkimbell 3 місяці тому

    I was gonna be so mad if you annotated the init parameters AND the assignments within.

  • @Bluefox1978
    @Bluefox1978 2 місяці тому

    Hold nu kæft en røvfuld info, der er pakket ind i din video. Har længe ledt efter en video der forklarede alle funktioner og principper i Python. Stadig uoverskueligt, men jeg syntes det hjalp på forståelsen, så tak for det.

  • @Cukito4
    @Cukito4 Місяць тому

    If writing in the OPTIONAL type for every variable, is optional, you sure are confusing a lot of people, considering you are writing this up all the time. This is not C++.

  • @BusterWiegand
    @BusterWiegand 2 місяці тому

    Allen Steven Hall Angela Williams Charles

  • @surya_suresh_5
    @surya_suresh_5 Місяць тому

    I didt get why your using "f" in return statement

    • @kelpodelpog5395
      @kelpodelpog5395 Місяць тому

      Formatting, f is special command. Like printf in Java

  • @YogiDirgantara-1000
    @YogiDirgantara-1000 2 місяці тому

    ❤😮

  • @BettyHernandez-j2o
    @BettyHernandez-j2o Місяць тому

    Robinson Sandra Perez Amy Gonzalez Dorothy

  • @pauleedavidson9251
    @pauleedavidson9251 Місяць тому

    Jackson Frank Clark Mary Williams Helen

  • @pauleedavidson9251
    @pauleedavidson9251 2 місяці тому

    Rodriguez Jason Jones Maria Jones Mary

  • @cutebabiesfunnypets6971
    @cutebabiesfunnypets6971 20 днів тому

    Coding Hives

  • @saugatshrestha5453
    @saugatshrestha5453 2 місяці тому

    Which editor is this actually 😅

  • @jackymarcel4108
    @jackymarcel4108 Місяць тому

    Martin Eric Harris Mary Davis Paul

  • @rishiraj2548
    @rishiraj2548 3 місяці тому

    🙂👍🏻

  • @VincentAnnabelle-l4l
    @VincentAnnabelle-l4l Місяць тому

    Walker Karen Davis David Davis Donna

  • @DatNickNganGonVaDeNho
    @DatNickNganGonVaDeNho 3 місяці тому

    you told too much about type checker, there are no type checker in python, just because you're using mypy.
    Check all extensions before making video.

  • @sreelakshmib711
    @sreelakshmib711 2 місяці тому

    What is meant by typanatation

  • @JustinMacri007
    @JustinMacri007 3 місяці тому

    Cab we be freinds

    • @yourfavstepdad95
      @yourfavstepdad95 2 місяці тому

      Hop in the 'cab'-I'll drive us to the land of spelling first!