10 Important Python Concepts In 20 Minutes

Поделиться
HTML-код
  • Опубликовано: 4 фев 2025

Комментарии • 210

  • @vladimir-z5l1z
    @vladimir-z5l1z 4 месяца назад +378

    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 4 месяца назад +8

      Nicee

    • @marcelleza
      @marcelleza 4 месяца назад +2

      Boa, conterrâneo! Nunca é tarde.

    • @lampshxde
      @lampshxde 3 месяца назад

      @@rytis3005
      z

    • @lat.fn6
      @lat.fn6 3 месяца назад +14

      You are cooked 🎉🎉🎉🎉🎉

    • @annadath69
      @annadath69 3 месяца назад +5

      Live long sir

  • @rdwells
    @rdwells 3 месяца назад +97

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

    • @masoudziaie654
      @masoudziaie654 Месяц назад +6

      Your students don't know what a blueprint is? Do you happen to be in America where basic knowledge is illegal?

    • @rdwells
      @rdwells Месяц назад +8

      @@masoudziaie654 Do you happen to live somewhere that hasn't adopted modern building techniques (:-)? Nobody uses actual blueprints anymore. Architectural drawings are printed using large format inkjet printers. Much cheaper, and much more convenient.

    • @masoudziaie654
      @masoudziaie654 Месяц назад +4

      @rdwells no, but everyone and their dog knows what a blueprint is.

    • @thiscommentsdeleted
      @thiscommentsdeleted Месяц назад +3

      ​@@masoudziaie654 (S)he seemed pretty defensive... Anyway, aren't lots of idioms generally referring to items, practices or jobs that simply don't exist anymore? I agree with "blueprint" being a common word. A similar term would be boilerplate and I doubt people know what that's for exactly. It just seems like a lazy excuse for people's narrow vocabulary but I guess something has to make room for skibidi rizz and other great expressions. (btw, if teacher teaches young kids, blueprint could be a difficult word.)

    • @masoudziaie654
      @masoudziaie654 Месяц назад +2

      @thiscommentsdeleted I agree with you. Most expressions used today refer to items that aren't readily used anymore. Nevertheless, they are known by many except Gen Alpha, whose brainrot vocabulary is too vast to encompass a vocabulary with actual class and dignity.

  • @josejaimecome
    @josejaimecome 2 месяца назад +38

    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.

  • @aronrissato1044
    @aronrissato1044 3 месяца назад +46

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

    • @RichGee-e6l
      @RichGee-e6l 20 дней назад +2

      That's the moment I subscribed 😂

  • @fish7828
    @fish7828 6 месяцев назад +55

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

  • @poru208
    @poru208 5 месяцев назад +28

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

  • @waquarhassan3159
    @waquarhassan3159 5 месяцев назад +18

    I usually do not comment on the RUclips 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 😊

  • @MariannePinette
    @MariannePinette 5 месяцев назад +18

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

  • @DucatiSydney
    @DucatiSydney 4 месяца назад +4

    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 3 месяца назад

      i still dont get it haha

  • @HusamJamal
    @HusamJamal 2 месяца назад +1

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

  • @datgal2u
    @datgal2u 6 месяцев назад +9

    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.

  • @allezvenga7617
    @allezvenga7617 19 дней назад

    The best introduction I ever seen on RUclips

  • @MoveTrueRecords_
    @MoveTrueRecords_ 20 дней назад +1

    New sub. Taking python serious this year 🐍

  • @alexcheung8316
    @alexcheung8316 2 месяца назад +1

    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 🙏🏻

  • @mamuli01
    @mamuli01 4 месяца назад +1

    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

  • @diego1504
    @diego1504 16 дней назад

    Love it ! Simple and direct to the point. Will save for future reminders.

  • @cal8391
    @cal8391 22 дня назад

    Thank you so much, as I just took the first class in AI with python, I was totally confused, now I feel I have enough knowledge to start my assignment 1

  • @DecentVFXartist
    @DecentVFXartist 10 дней назад

    I chose python as my second coding language after lua, so here i am.
    Thank you for providing such a nice tutorial.

  • @jitendravishwakarma7949
    @jitendravishwakarma7949 5 месяцев назад +2

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

  • @laylaxoxo5719
    @laylaxoxo5719 6 месяцев назад +10

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

    • @Indently
      @Indently  6 месяцев назад +3

      Aha I will always slide it in there

    • @guilhermefilipe233
      @guilhermefilipe233 6 месяцев назад +1

      I love it too hahaha

  • @idrisyelwa
    @idrisyelwa 20 дней назад

    I'm amazed onhow you try to make the introductory part so easy to understand

  • @antoniolay984
    @antoniolay984 3 месяца назад

    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!!!

  • @facefamousee
    @facefamousee 5 месяцев назад +1

    The idea of classes is enlightened. Thank you. 👌

  • @aaronmorris3114
    @aaronmorris3114 14 дней назад

    I have written Classes and Objects of classes for years, but I never really understood what I was doing as in "what are these things actually doing?" And for some reason your explanation just set the light bulb off. It makes perfect sense now lol

  • @ЮрийБ-о6е
    @ЮрийБ-о6е 6 месяцев назад +5

    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 6 месяцев назад +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

  • @X9Larvva
    @X9Larvva 3 месяца назад +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

  • @joehernandez3231
    @joehernandez3231 4 месяца назад

    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.

  • @Buyongjajangman
    @Buyongjajangman 4 месяца назад

    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!

  • @knghtbrd
    @knghtbrd 14 дней назад

    Programmers make mistakes. They can be drunk, they can be tired, they can be inattentive. Or they can be all of those things at the same time. (With apologies to Tom Scott.) Great intro video Federico!

  • @sisisisi6
    @sisisisi6 Месяц назад

    Great content, short, sweet and to the point 👍🏽

  • @subject-no.3
    @subject-no.3 5 месяцев назад

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

  • @loverboykimi
    @loverboykimi 6 месяцев назад +2

    Gold content as always.

  • @benwinstanleymusic
    @benwinstanleymusic 4 месяца назад

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

  • @SoftMusicFamily
    @SoftMusicFamily 2 месяца назад

    He gave an excellent explanation of classes!

  • @oxand1
    @oxand1 2 месяца назад

    Nice and clear. Such a good introduction. Thanks a lot !

  • @h.a.x
    @h.a.x Месяц назад

    Love this, easy to understand

  • @bincharinnovik1218
    @bincharinnovik1218 2 месяца назад

    This is great explanation and best for me to start learning Python, Thank you very much for demo.

  • @TheGoodShepherdsSheep
    @TheGoodShepherdsSheep 2 месяца назад

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

    • @Indently
      @Indently  2 месяца назад

      Glad it was helpful!

  • @wirrexx
    @wirrexx 4 месяца назад

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

  • @EmilioAt77
    @EmilioAt77 5 месяцев назад

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

  • @shimmeringreflection
    @shimmeringreflection 5 месяцев назад +1

    Good tip for specifying type right from the getgo

  • @hermannweinzierl5731
    @hermannweinzierl5731 4 месяца назад

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

  • @cocoatea57
    @cocoatea57 6 месяцев назад +1

    You're the best Freddie 💯✅

  • @Yuki-kun0305
    @Yuki-kun0305 Месяц назад

    Glad to know that i'll have to dive throught the Python documentation and the roadmap aswell so i can learn all of this... lol. Im scared.

  • @mixme8655
    @mixme8655 5 месяцев назад

    Thank you sir❤ new subscriber and beginner in Python

  • @mrthwibble
    @mrthwibble Месяц назад

    Splendid. Thx!

  • @Warley.Araujo
    @Warley.Araujo 3 месяца назад

    Great Video Explanation!!

  • @chrisogonas
    @chrisogonas 5 месяцев назад

    Very well illustrated! Thanks

  • @cmespy2005
    @cmespy2005 4 месяца назад

    Well done! Thank you so much

  • @mhdfahdaldebes578
    @mhdfahdaldebes578 5 месяцев назад

    Clear and unique 👌

  • @dirtydevotee
    @dirtydevotee 2 месяца назад

    It's my understanding that methods are functions that don't return anything. Think of a function like in math class. If you feed the function "addMe(int1, int2)" the values of "5" and "6", a function will solve the problem by returning "11" while a method will simply update some other output variable with the sum or append a list with two new entries "5" and "6".

  • @simphiwehlela5399
    @simphiwehlela5399 6 месяцев назад +1

    Wonderful insight

  • @alexcate2450
    @alexcate2450 3 месяца назад

    Thank you this has helped me so much

  • @RLPlays
    @RLPlays 2 месяца назад

    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

  • @kristiangoranov
    @kristiangoranov 5 месяцев назад +13

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

    • @scruffyjohn5234
      @scruffyjohn5234 4 месяца назад +1

      I know right. It was reassuring lol

    • @smoothoperatah
      @smoothoperatah 2 месяца назад +1

      yeah that one made me chuckle.

  • @Nihilator
    @Nihilator 4 месяца назад +20

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

    • @jpapageo
      @jpapageo 12 дней назад +1

      In math, we say “don’t drink and derive”

  • @EtienneT
    @EtienneT 5 месяцев назад

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

  • @EvanYoung-xo8kd
    @EvanYoung-xo8kd 26 дней назад

    Thank you for spelling 'colour' properly 🙂

  • @michaelrstudley
    @michaelrstudley 6 месяцев назад

    Another great video, thank you

  • @rohanbhardwaj3537
    @rohanbhardwaj3537 4 месяца назад

    Finally understood dunder method

  • @casualchou
    @casualchou 5 месяцев назад +2

    Great video

  • @SaintJames14
    @SaintJames14 3 месяца назад

    Outstanding video

  • @academicresourcesaccountfo9176
    @academicresourcesaccountfo9176 3 месяца назад

    This is so intersting!

  • @BreuerTimo
    @BreuerTimo 5 месяцев назад

    Really great,thanks

  • @Musciallyrical
    @Musciallyrical 3 месяца назад

    great explanation

  • @lexbeukel9949
    @lexbeukel9949 4 месяца назад

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

  • @fa-V-erse
    @fa-V-erse Месяц назад +1

    THANK YOU VERY MUCH FOR MAKING IT SIMPLE AND GETTING IT ALL TOGETHER 2:22 oh luigi over there, not a fan but there he is

    • @ZenWhispersASMR
      @ZenWhispersASMR 25 дней назад +1

      I thought I was the only one who saw it 😅

    • @Lea-mj8qu
      @Lea-mj8qu 21 день назад +1

      ​@@ZenWhispersASMRBy the way,did you learn 😂

  • @chriss2295
    @chriss2295 27 дней назад

    3:46 says it all

  • @1Clamberto1
    @1Clamberto1 3 месяца назад +1

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

  • @randycny
    @randycny 5 месяцев назад

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

  • @CodewithTechfree123
    @CodewithTechfree123 2 месяца назад

    Wau very nice❤❤❤

  • @timotheegoulet1511
    @timotheegoulet1511 15 дней назад

    4:41 Traffic lights don’t tell you when it’s safe to drive thru an intersection. If we operated under that assumption then half the town I’m in would get into traffic collisions at least once a week!

    • @Indently
      @Indently  15 дней назад

      I'm spoiled enough to live in a first-world country. Of course continue looking both ways even if it's green if it increases your chances of staying safe. Best of luck!

  • @liji8672
    @liji8672 3 месяца назад

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

  • @buzzbuzz20xx
    @buzzbuzz20xx 5 месяцев назад

    Amazing video !!!

  • @richardbennett4365
    @richardbennett4365 3 месяца назад

    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.

  • @tedonica
    @tedonica 5 месяцев назад +2

    Eye opening! This is a great intro to these concepts

  • @VictorJimenez-dn8qo
    @VictorJimenez-dn8qo 5 месяцев назад +3

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

  • @aaaaaaaa2008-h8z
    @aaaaaaaa2008-h8z 4 месяца назад

    Thanks!

  • @syedjahanzaibazhar6610
    @syedjahanzaibazhar6610 2 месяца назад +3

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

  • @rapture_05_14
    @rapture_05_14 4 месяца назад

    nice explaination

  • @AreBaietii
    @AreBaietii 4 месяца назад

    Cool stuff!

  • @wallabydefi
    @wallabydefi 3 месяца назад

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

  • @francoisxavier4689
    @francoisxavier4689 3 месяца назад

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

  • @delaphonta2816
    @delaphonta2816 Месяц назад

    Thanks

  • @XAVIERYMARIGON
    @XAVIERYMARIGON 2 месяца назад

    I will note

  • @jdfufu
    @jdfufu 5 месяцев назад

    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 4 месяца назад

      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 4 месяца назад

      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!

  • @low_elo_chess
    @low_elo_chess Месяц назад

    can you make a similar video for c++
    i have my exam coming saturday

  • @gwillakers9833
    @gwillakers9833 Месяц назад

    What compiler / IDE are you using here?

  • @anon_y_mousse
    @anon_y_mousse 6 месяцев назад +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.

  • @mreddy7356
    @mreddy7356 3 месяца назад

    Can you explain’OOPs’

  • @EtchTzy
    @EtchTzy Месяц назад

    13:20 Why is f not printed though? Can someone kindly explain?

    • @barryon8706
      @barryon8706 Месяц назад

      It looks like the f in front of a string makes it an interpolated string so e.g. f'Hello {name}' becomes Hello Bob instead of being literally Hello {name}

    • @LukeCanadaOfficial
      @LukeCanadaOfficial Месяц назад +1

      The ‘f’ is outside of the quotations. When you put ‘f’ before quotations, you’re specifying that it’s a formatted string. This allows you to use placeholders inside of strings for repetitive tasks. So if you had a variable called ‘name’ with a value of ‘Bob’ and then typed “print(f’My name is {name}.’)” you would get “My name is Bob.” Without the ‘f’ before the quotation marks, the placeholder ‘{name}’, will not work. It will just print exactly ‘My name is {name}’ verbatim. Hope this helps

  • @LunnarisLP
    @LunnarisLP 23 дня назад

    you gotta love the irony in python devs being like "lets make it so people dont have to define the types of their variables any more so i dont have to write the type all the time" and then devs be like "one of the greatest things to use in pyhton are Type annotations" :D

    • @Indently
      @Indently  23 дня назад

      It being optional is a beautiful thing, especially for those who are in a hurry writing quick scripts :)

  • @vladimirpain3942
    @vladimirpain3942 3 месяца назад

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

  • @YollyWinkle
    @YollyWinkle 3 месяца назад +1

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

  • @rsb7613
    @rsb7613 2 месяца назад

    Please, whats the Python version in this codes?

  • @mertcobanov
    @mertcobanov 4 месяца назад

    which code editor is this?

  • @MewingStreak31
    @MewingStreak31 4 месяца назад

    suggestion: next time, incorporate recursion.

  • @EzzyAlaba
    @EzzyAlaba 11 дней назад

    what software is that?

  • @Nathan-f4d
    @Nathan-f4d 3 месяца назад

    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 3 месяца назад

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

  • @caxapok2-u3z
    @caxapok2-u3z 3 месяца назад +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.