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)
"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.
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.
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 😊
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 🙏🏻
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.
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.
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.
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!!!
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.
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
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!
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
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
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
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
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.
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.
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
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.
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.
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!
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.
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
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!
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.
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++.
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)
Nicee
Boa, conterrâneo! Nunca é tarde.
@@rytis3005
z
You are cooked 🎉🎉🎉🎉🎉
Live long sir
"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.
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.
I love how you simplify the concept and explain the code quick enough for others to get it. Great video. Thanks!
"whether it's because we are drunk, tired or just not that attentive..." 3:45 great video, thanks
This is one of the most understandable intros for Python I have seen. Really great, thanks.
Python is such a nice feeling language to interact with, channels like this are so nice for learning all the little features :)
Your post was created 2 years ago, but it's still helping newcomers.
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 😊
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 🙏🏻
This was a great video, the way you explain classes was probably the best I’ve watched so far 👌
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.
i still dont get it haha
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.
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.
He gave an excellent explanation of classes!
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!!!
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.
The idea of classes is enlightened. Thank you. 👌
Watch and completed many UA-cam videos, but this one teaches a lot! Thanks for this video :)
great, now i have a clear roadmap and also i know what is waiting for me ahead.
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
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!
Eye opening! This is a great intro to these concepts
I like how you use every opportunity to pitch python type annotations 🙃
Anyways, great video tho!! as always
Aha I will always slide it in there
I love it too hahaha
Thank you so much, helped me plug holes in my knowledge about classes. Have a good day!
Very clear and easy to follow. Examples are great. Thank you.
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
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
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
Good tip for specifying type right from the getgo
Thank you this has helped me so much
not so bad. Thank you for all the introduction. Did help a lot to understand the logic behind
Finally understood dunder method
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
Outstanding video
Great Video Explanation!!
You're the best Freddie 💯✅
Thank you sir❤ new subscriber and beginner in Python
Gold content as always.
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.
great explanation
Clear and unique 👌
This is so intersting!
Well done! Thank you so much
This was such a great video, it's so important
Very well illustrated! Thanks
in the last example, 'other' can also be: "other: 'Car'"
tell me you learnt JS before python, without telling me you learnt JS before python. but all jokes aside great video
"whether because we are drunk.." hahaha nice one, lad. Great content! 🙏🏻🍻
Thanks!
Great video
Video was good. You didn't mention f strings when you first used it. Just FYI.
It was a nice review. ;)
Wonderful insight
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.
Hi, I wanna ask you a question: what IDE do you use? thanks a lot
Another great video, thank you
Really great,thanks
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
Wau very nice❤❤❤
Amazing video !!!
"Wheter we are drunk, tired or not that attentive".... sounds about right.
nice explaination
6:48 sorry to mention it, but that is pretty easy, ctrl + h to replace the text
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.
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.
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!
Can you explain’OOPs’
Cool stuff!
Pour ma part j'utilise Pdf24, Qdir, notepad++
Glad to know I’m not the only one programming while drunk lol 🤷♂️
I know right. It was reassuring lol
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.
Just do it if you’re doing it and never mind asking for likes on a comment
What does he mean in 8:11 by "print the f string of hello name"?
suggestion: next time, incorporate recursion.
Went straight to drunk as the reason for coding errors, hahahaha
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
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!
What compiler are you using becasue when i download python it takes me to the one with >>>
and i cant run my codes
which code editor is this?
Pycharm
it broke my brain when he multiplied volvo with a bmw....
Eventually every untyped language realises that you need types to develop anything of significance .. and then we are back to Java :)
I might as well be learning Japanese, could not understand any of this and it is supposed to be for beginners
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
It's called a programmig *LANGUAGE* for a reason
enterprise-ai AI fixes this. important Python concepts summarized.
i dont see constants giving a warning in any of my IDEs
3:50
You forgot to mention: sleepy ( -_-) zzZZZ
type hinting is aiyt, but type hinting dunder init is whack.
in association withe the real world it is very easy to follow like -red light in drank condition is green
3:50 why am I drunk while programming???? 😂😂
I was gonna be so mad if you annotated the init parameters AND the assignments within.
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.
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++.
Allen Steven Hall Angela Williams Charles
I didt get why your using "f" in return statement
Formatting, f is special command. Like printf in Java
❤😮
Robinson Sandra Perez Amy Gonzalez Dorothy
Jackson Frank Clark Mary Williams Helen
Rodriguez Jason Jones Maria Jones Mary
Coding Hives
Which editor is this actually 😅
pycharm
Martin Eric Harris Mary Davis Paul
🙂👍🏻
Walker Karen Davis David Davis Donna
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.
?
What is meant by typanatation
Cab we be freinds
Hop in the 'cab'-I'll drive us to the land of spelling first!