I've watched 5 videos, but yours in jupytrr notebook finally clicked for me since I use jupytrr notebook too. ty so much. sub and liked!
@ReuvenLerner Жыл бұрын
Delighted to hear that you enjoyed and learned - welcome!
@richpeacock Жыл бұрын
Well, I never! I couldn't work this out until now. Thanks.
@ReuvenLerner Жыл бұрын
So glad to hear it helped!
@ThePeacefullOasis2 жыл бұрын
So far best explanation I found on this topic. Thanks!
@ReuvenLerner2 жыл бұрын
Delighted to hear it!
@Anonymous_it_is Жыл бұрын
Magnificent explanation Cleared all the doubts in such a simple manner. I recently came across your channel & have been hooked since then for python content. Request you to release OOPs concepts videos as well, would be really helpful to learn oops concepts from a teacher like you:) Thanks much sharing your knowledge
@ReuvenLerner Жыл бұрын
I'm so glad to hear that it helped!
@funnyclips26962 жыл бұрын
Better at least ! This particular function: if __name__= __main__ has been very confusing to me. But, bit by bit I'm getting to see its relevance. Thanks
@ReuvenLerner2 жыл бұрын
Happy to know it's becoming clearer!
@davidbacon49632 жыл бұрын
An excellent explanation. Thank you. A valuable time investment. Very well done.
@ReuvenLerner2 жыл бұрын
Delighted to hear it helped!
@BytesofNow2 жыл бұрын
waw, this is one thing i never knew of, thank you Reuven
@ReuvenLerner2 жыл бұрын
Glad it helped!
@mbegaliful2 жыл бұрын
thanks this was very helpful!
@ReuvenLerner2 жыл бұрын
Glad it helped!
@mbegaliful2 жыл бұрын
@@ReuvenLerner I particularly appreciated that you try to model the reasoning you need to develop to understand coding. Unlike many tutorials on youtube that just give you a recipe to do xyz.
@takshpatel81092 жыл бұрын
I was confused by this for while , but thanks for the clarifying so well 😊😊. Thanks
@ReuvenLerner2 жыл бұрын
Glad it helped!
@PaulFWatts2 жыл бұрын
Very well explained! As others have said in the comments it's the best explanation I have found so far on this topic.
@ReuvenLerner2 жыл бұрын
I'm so happy to hear it helped!
@enpassant73582 жыл бұрын
Excellent video! Clear, consice, and now I understand. Thanks!
@ReuvenLerner2 жыл бұрын
Glad you liked it!
@brachysm2 жыл бұрын
Very logical and clear! Thanks!❤
@ReuvenLerner2 жыл бұрын
My pleasure!
@anastasiiaandrusyshyna735 Жыл бұрын
thanks . so clear and helpful . best on this topic
@ReuvenLerner Жыл бұрын
Glad it helped!
@dhananjayhawal31022 жыл бұрын
Nicely explained
@ReuvenLerner2 жыл бұрын
Thanks; glad you liked it!
@0xhhhhff2 жыл бұрын
Thanks for the lesson. It was thorough and clear!
@ReuvenLerner2 жыл бұрын
Glad to hear it!
@QWin-ir6yq Жыл бұрын
Nice vid. Like the way you explain
@ReuvenLerner Жыл бұрын
Thanks!
@santosharakere2 жыл бұрын
Excellent. Thanks.
@ReuvenLerner2 жыл бұрын
Glad you enjoyed!
@abschmit8 ай бұрын
dunder
@ReuvenLerner8 ай бұрын
Yes, indeed! I even heard someone jokingly say, a few years ago, that we should have *triple* underscore special methods, which we could call ... "thunder."
@theclimateposts2 жыл бұрын
Thanks for this, excellent explanation, subscribed :)
@ReuvenLerner2 жыл бұрын
Glad you enjoyed it!
@kwaczorek0072 жыл бұрын
Great explanation. Any plans for similar C++ tutorials? ;)
@ReuvenLerner2 жыл бұрын
The last time I used C++ was about 30 years ago. The world and I are both better off that I've avoided it since then!
@faseunoluwatobiloba67162 жыл бұрын
Hey, thanks for this one more subscriber added i have been using python flask for a while and this line is very important but i didn't understand it
@ReuvenLerner2 жыл бұрын
Glad to hear it; welcome!
@nateF8882 жыл бұрын
Hey, thanks for the lesson! I have a question that i need a second opinion on. I just got in college taking Computer engineering. My career goal is to be a software developer, but I decided to pick computer engineering instead of comsci as it was more flexible in terms of job opportunities according to my research. I have already started learning programming before going to college. Currently we are on our 4th week of our classes and i am already bombarded with math and chemistry lessons. These past week i've been studying from morning to night for these two subjects, and i don't even think they're that necessary for my career goal as a software developer. I've seriously been thinking of dropping out, and self studying to be a software developer. I am disciplined and i will study for 8 hours if i have to. Can i get your opinion on this?
@ReuvenLerner2 жыл бұрын
You can learn programming through self study, true! And many people have done it. So, why get a university degree? (1) Most people aren't disciplined enough to learn what they need in a reasonable amount of time. Having deadlines and structure increases the chance that you'll finish. (2) A university degree is basically a strong letter of recommendation, saying that you know your stuff. Some employers might not be willing to take a chance on someone who has self-studied. (3) A university education is typically deeper (including theory) and wider (on a variety of topics) than you're likely to learn yourself. For example, you don't need chemistry or math for programming, but some background in each will give you new ways to think about the world. You never know when you'll draw upon these topics, or the ways they help you to think, down the road. (Although I took chemistry in college, and they told us that learning solid-state chemistry would help us to understand semiconductors... that hasn't really played a role in my software career, I'll admit!) Note that there are many people who are disciplined, and learned both deeply and widely, and got fantastic jobs. No doubt about it! And if you cannot manage the university classes while you're also working, then you should indeed find another path to success. But I do think that a degree increases your chances of success, and of landing a good job. How much of an increase, I can't tell you. But it's something.
@mariom14172 жыл бұрын
Basic engineering courses (calculus, physics, chemistry) teach you the base of most known science. I d take those at least.
@gerardob.3765 Жыл бұрын
Great video
@ReuvenLerner Жыл бұрын
Thanks!
@zigaudrey Жыл бұрын
I never understand the purpose of the line if this is always True. Now, I understand. It isn't something nerd will add to make thing cool.
@ReuvenLerner Жыл бұрын
You're already cool if you're using Python. :-) But yeah, a *ton* of people don't really understand how it works, or what it does. Glad this helped!
@ShayanMK2 жыл бұрын
Do you know how to make python main.py work
@ReuvenLerner2 жыл бұрын
main.py is a bit weird, and I've personally never used it. But it's a different mechanism than this whole __name__ and __main__ business.
@cliffmathew Жыл бұрын
___great___
@jamescullins270910 ай бұрын
What in the world is dunder?
@ReuvenLerner10 ай бұрын
It's Python slang (sorry for not explaining it!) for "double underscore, before and after the name." So "dunder init" is "__init__". Typically, dunders in Python are names of variables and methods that Python looks for -- and if they're there, Python uses them. For example, if you define a __len__ method (i.e., "dunder len"), then your object supports the "len" function. Dunder methods are also called "magic methods." Here, we aren't talking about methods, but rather variables and names that Python sets behind the scenes to inform us about how the program was/is being run.
@jamescullins270910 ай бұрын
OK, thanks, it makes sense now d under thanks I will remember that one.@@ReuvenLerner