If __name__ == "__main__" for Python Developers

  Рет қаралды 417,745

Python Simplified

Python Simplified

Күн бұрын

Пікірлер: 734
@supermalavox
@supermalavox 2 жыл бұрын
I like it when youtubers describe their code(s) verbally as they go along. For a blind person such as myself, it is of great help, since screen readers normally don't speak the contents inside videos, only in their descriptions, so if you say what you are doing while you write/show the code, the explanation becomes accessible! Thanks and keep up the good work!
@WhiteNight0204
@WhiteNight0204 2 жыл бұрын
Please don't take this question as offensive, as I am only intrigued, but you program while being blind? Is it actually doable?
@RAP4EVERMRC96
@RAP4EVERMRC96 2 жыл бұрын
@@WhiteNight0204 I am not an expert in accessibility features, but I remember from my time at apple that on a regular blind or visually impaired people would come in to give their Mac to service. They were able to fully control their computer due to the accessibility features and additionally there were experts in the store that knew how to use these features. So I guess as long as you can control a computer you can program on it.
@supermalavox
@supermalavox 2 жыл бұрын
@@RAP4EVERMRC96, thanks for the help in replying! I will add that while blind people might not be the greatest in GUIs in terms of object positioning, colors, etc, we can definitely build working functions and even deal with oop. Also, the screen reader that comes with Linux/GNOME - Orca - and one we use on Windows - NVDA - are both programmed in python! And as far as I know, NVDA's original developer - Mick Curran - is blind. I myself am not a professional programmer, but like to learn something on Codewars, Exercism, etc.
@rikkilleen3169
@rikkilleen3169 2 жыл бұрын
Rock on, my guy. You are an inspiration.
@supermalavox
@supermalavox 2 жыл бұрын
@@rikkilleen3169, I will consider myself an inspiration when I become more than a newbie programmer, but thanks for the motivation!
@xr6694
@xr6694 Жыл бұрын
this is by far the most professional guide I've seen on this topic. this girl is serious
@anthonyoppong-gyebi2880
@anthonyoppong-gyebi2880 2 жыл бұрын
Did you guys watch the video at all before commenting? Please watch it. That's how you will learn. She is here to educate, not for fans.
@S3R43o3
@S3R43o3 2 жыл бұрын
Well dude as is know the Internet the Most dudes are Here , an i hate to say That cause sexism is Not my opinion but she is a attractive Woman and the Most Boys going Crazy if they See a beautyfull Girl on screen … its like twitch Girls … youre right she is very competent and i learned a lot from her
@htruth1785
@htruth1785 2 жыл бұрын
She’s hot AF that’s why clicked. But I stayed for her enthusiasm, knowledge and style of teaching.
@S3R43o3
@S3R43o3 2 жыл бұрын
@@htruth1785 Mhm you Need to know when its better to shut up and keep fingers away from keyboard… but thanks for the next men That keep this ugly aditute and the cockbrainer style… how u get Into IT with 3 mumbles That Collide uncontrolled ? Please… sit and go for pornhub … 😓
@PythonSimplified
@PythonSimplified 2 жыл бұрын
Don't worry Anthony, it doesn't mean they don't watch it, they just choose to comment on my looks instead of the content 😊 I don't really have a problem with that - I'd always take a subconscious learning process over nothing! hahahaha they don't notice but the info still sinks in 😅😅😅
@PythonSimplified
@PythonSimplified 2 жыл бұрын
@@S3R43o3 What many women consider sexism nowadays - used to be called courtship, and it was a very desirable behavior 😉 Nowadays it's "how dare you compliment me?? this is so disrespectful!!! I'll go complain to my 70 cats, they understand me so well..." 🤣🤣🤣
@tbohlender
@tbohlender 2 жыл бұрын
Danke!
@michalbotor
@michalbotor 2 жыл бұрын
you've achieved mastery in clean, logical, and engaging explanations of programming concepts. my understanding of the topic has increased substantially. thanks so much mariya!
@txwinder
@txwinder 5 ай бұрын
I've been looking for a clear explanation of if __name__ = "__main__" for the last week and this is the only one that makes sense! TY TY TY!
@trong-tintran6262
@trong-tintran6262 11 ай бұрын
I am a French developer, beginner in python, and your tutorial is extremely clear, I understood everything! I often avoid English tutorials because the KZbinr speaks quickly and I have trouble following but here I have nothing to complain about, your English is simple and easy to understand. I subscribe to your channel +1. Thank you very much for this wonderful work. This is the first time I've posted a message on KZbin in my entire life 😂 but it's well deserved !👏🙏
@ad.chacon
@ad.chacon Жыл бұрын
I just clicked this video bc I started learning Python yesterday, I have never seen a if __name__ = "__main__" in my life, yet you managed to make me understand how this works and why is it this way.
@StasFainberg
@StasFainberg 2 ай бұрын
That's THE BEST explanation I've ever heard or seen in my life!!! Thank you Mariya!!! 💪😎
@kayingayle3788
@kayingayle3788 3 ай бұрын
I've never seen someone explained this so simply before. This video is a gem.
@ALFATAVR
@ALFATAVR 2 жыл бұрын
I haven't heard such clear and beautiful English pronunciation in a long time
@Neotenyx
@Neotenyx 2 жыл бұрын
Holy moly! Two days ago I was figuring out what this idiom was for and now you post about it, it's amazing.
@PythonSimplified
@PythonSimplified 2 жыл бұрын
I caught you at the perfect timing!!! 😉 Thank you so much, Otar!
@bubalum
@bubalum 10 ай бұрын
For the love of God, I finally get a KZbinr developer, who explains technically with explicit language, with a super marked, slow diction and with a divine orator. Thank you, "Strange" beatifull Human, for providing me with knowledge with top-quality verbal and visual communication. 🙏
@michaeltheisen
@michaeltheisen 7 ай бұрын
The example at the very end with "from import_me import call_me" that showed it running the function just because it was imported, really helped me solidify the concept. Thank you! And thank you for all your quick videos on good python habits and explanations like this. They really do help us get through some of our projects after we've been out of the game for so long.
@EmaMazzi76
@EmaMazzi76 2 жыл бұрын
Your lessons Mariya really worth every seconds spent…watched dozens of videos regarding this topic (if __name__ == “__main__”…) and for the very first time I understand what it does actually 😄 thank you, thank you, thank you
@PythonSimplified
@PythonSimplified 2 жыл бұрын
Yeeeeeeyyy Emanuele, I'm so happy to hear that!!! 😀 For a very long time I understood the general concept, but after making this tutorial - you can wake me up in the middle of the night with a surprise quiz - and besides me being a bit grumpy I'll probably get an A+! hahahaha 🤣🤣🤣 Anyhow, I really enjoyed making this one and super glad you found it useful! 😊
@asmitaghorai7332
@asmitaghorai7332 9 ай бұрын
This was actually a brilliantly executed lesson plan! Profuse thanks to you. Never thought I'll come across such content on KZbin and for absolutely free of cost oml, once again I'd like to screech out loud, this is straight off GREAT!
@tamasszuper7577
@tamasszuper7577 2 жыл бұрын
I watched around 5 different videos about it but never understand it. Finally, now I get it. Thank you
@aspsa6246
@aspsa6246 Жыл бұрын
Much appreciated. I always enjoy tutorials that provide the rationale for doing something rather than just droning on about how to do something.
@mbag012
@mbag012 Жыл бұрын
Instead of watching my normal binge videos, I binge your videos. Your content is amazing.
@JorgeEscobarMX
@JorgeEscobarMX 7 ай бұрын
This is the best explanation of this boilerplate code I had watched so far.
@PythonSimplified
@PythonSimplified 7 ай бұрын
Thank you so much! glad you liked it! :)
@sixstringmania
@sixstringmania Жыл бұрын
ahhhh,,, this is the best channel for python i think. Clarity of voice , compression in sound, great examples and graphics and fantastic teaching skills!!
@issafares1830
@issafares1830 Жыл бұрын
I've seen many videos explaining ( if __name__=__main__) and frankly, this is the most understandable one. thanks
@bluehawkfire55
@bluehawkfire55 Жыл бұрын
Jesus that was so damn clear. I actually understood it without rewinding it. The examples were so crucial and clear. Loved it!
@Stephen-mb2gf
@Stephen-mb2gf 11 ай бұрын
I'm a 3+ data analyst after 6 yoe of engineering mangaer, your explanation is well delivered and remains as the best video on this topic. Thank you so much!!
@Earth-Worm-Tim
@Earth-Worm-Tim 2 ай бұрын
Wow, this was the best explanation I've ever seen on this topic. I've always just understood it as a necessary block of code to ensure I didn't run the imported module(s), but never really understood what was happening in the background. Thank you for posting this video, and I have both liked the video and subscribed to the channel. Keep em' coming!
@JulioTalaveraMe
@JulioTalaveraMe 2 жыл бұрын
I can understand everything you say easily. Your accent when speaking is very clear and easy to translate. The explanation is very clear and specific, thank you. 👌🏻
@alaly2410
@alaly2410 2 жыл бұрын
Over 10+ of python experience and I’m a proud active fan and follower. I love your teaching style, contents, personality and simply everything about you. Thank you so much for everything ❤
@PythonSimplified
@PythonSimplified 2 жыл бұрын
Wow, Alaa! Thank you so much for the incredible comment!!! 😀😀😀 I'm honored to have you onboard and so happy you enjoy my videos! I still have lots of things to learn, and getting feedback from professional developers with so many years of experience is one of my favourite perks in running this channel! 😉 Thanks again and I hope to see you soon in future videos! 😊
@felipegutierre7037
@felipegutierre7037 Жыл бұрын
Totally agree!
@randysmith4964
@randysmith4964 2 жыл бұрын
Out of all the KZbinrs your explanations really are the best!
@uleyasha3452
@uleyasha3452 10 ай бұрын
Python simplified.. Perfect Teacher!! Gifted. Explains with detail and precision. Will be watching all her videos to Learn all she knows. I had been looking for a good python class/tutorial and she sounds just.. Perfect!! Python Simplified... name fits. I will be learning Docker and ML,, etc and more from you..Thank You Mariya! 🥰
@NIGHTCASTERS
@NIGHTCASTERS Жыл бұрын
Best teacher on youtube ! I can follow your code and you make all easy to understand, and what a Beauty too!
@arkord76
@arkord76 2 жыл бұрын
As a C# developer I always wondered what this is all about. Thank you very much for the great explanation!
@PythonSimplified
@PythonSimplified 2 жыл бұрын
Thank you so much! Glad you liked it 😊
@snowman1185-v
@snowman1185-v Жыл бұрын
Thank you for addressing this information. I am about 20 days into my 100 days of code journey and i was wondering exactly what the __name__ module was as well as exactly what modules were. Thx - 🦋 💎🔥✍
@divyakumar8147
@divyakumar8147 2 күн бұрын
your explanation was quite in-depth but still easy to comprehend loved the video, thanks for such great content.
@deniskasala8520
@deniskasala8520 2 жыл бұрын
I used to scroll down and pass your videos but now i am hooked as your methods of teaching is really easy. Thanks again
@portinho199
@portinho199 Жыл бұрын
As always, the best and cleary explanation from entire KZbin platform. Thank you so much!!!
@NoOne-L
@NoOne-L Жыл бұрын
Wow! Your channel was recommended to me a few months back and I kept passing it. Glad I finally watched 1 of your video. You’re such a great teacher. You make complex stuff simple. Thanks and will watch more videos from you
@bigbadcatbigbcy2933
@bigbadcatbigbcy2933 Жыл бұрын
lol same
@KingsleyOsborn
@KingsleyOsborn 2 жыл бұрын
I like how you slow down and try to speak as clearly as possible! Great info, thz!!
@diwakar_tsn
@diwakar_tsn 2 жыл бұрын
Best python teacher
@PythonSimplified
@PythonSimplified 2 жыл бұрын
Thank you so much Diwakar! 😀
@MrKrtek00
@MrKrtek00 2 жыл бұрын
This was actually way more insightful than I expected... Thanks, great explanation!
@renatomachelett
@renatomachelett 2 жыл бұрын
That was very well explained. An incredible amount of work goes into eight minutes of content when you want it to be clear and concise. I really appreciate the effort. Thank you! 👍🏻👍🏻
@PythonSimplified
@PythonSimplified 2 жыл бұрын
Thank you so much for pointing it out Renato! 😀😀😀 This video was 2 weeks in the making and I kept re-filming and revising it until I was 100% happy with the results! (it happens rarely! usually I'm ok with 95% 😅 hahaha) I'm so happy you liked this tutorial and you appreciate all the hard work that was put into it! Thanks again for the incredible comment! 😊
@renatomachelett
@renatomachelett 2 жыл бұрын
​@@PythonSimplified I'm really happy that I got the opportunity to point it out! ☺ Much of the time, people just consume without considering the energy that is necessary to create something excellent. Whenever I notice the lengths that someone must have gone to in creating something exceptional, instead of giving in to mediocrity, I try to let them know that I know. It needs to be said and more people need to say it! So, once again, thank you very much for the wonderful product of your exemplary work ethic! 👏🙏
@skaruts
@skaruts 2 жыл бұрын
You did a much better job setting this straight than mCoding did. He wrongly confused the main name check as an indicator of the entry point of a program, which it outright wrong. You could find it in many files, and the entry script might not even be one of them. Because if your main file is never going to not be the main file, then it doesn't need to include the name check at all: it's always going to be called main. It seems to me many people think it's best practice to do it, but it's actually just a practice by people who don't understand when they need that name check and when they don't.
@Akshay-rc9lq
@Akshay-rc9lq 2 жыл бұрын
You saved me. Now I'm able to understand the use of __name__ == "__main__"
@xklojx
@xklojx 7 ай бұрын
The most gorgeous python teacher with most synthesized way of teaching, keep it up
@MuhammadDaudJan
@MuhammadDaudJan 6 ай бұрын
bro's rizzing
@NikilPaul-pc9rz
@NikilPaul-pc9rz 7 ай бұрын
Are you for real? This is the best explanation out there!! Contains everything i ever wanted,why its used and what it is doing! Thanks sensei!!
@dmuhsin
@dmuhsin 2 жыл бұрын
OMG!!! I can't believe I never really understood this until now. THANK YOU for this video
@RunePedersen
@RunePedersen Жыл бұрын
What a super wonderful and crystal clear way of explaining. :-) Thanks lot Mariya!
@PythonSimplified
@PythonSimplified Жыл бұрын
Thank you so much Rune! I'm super happy you enjoyed this tutorial! 😃😃😃
@Richie.P71
@Richie.P71 2 жыл бұрын
I have been wondering this for ages, thank you for breaking it down so simply. You are the best!!
@PythonSimplified
@PythonSimplified 2 жыл бұрын
Thank you Richie! I'm super happy you found it helpful! 😀
@mauricealgorithm7320
@mauricealgorithm7320 Жыл бұрын
The only lesson you can’t sleep while taking.Very interactive lecturer
@hiutale
@hiutale 2 жыл бұрын
I'm purely amazed by your explanations! I only had to backtrack (a bit) once to understand all of it even though I'm still a beginner. You are the hero function we needed to call! 😭😭🥺❤️🙏✨
@PythonSimplified
@PythonSimplified 2 жыл бұрын
Yeeeyyyyyy! Thank you so much for the incredible feedback, hiutale!! 😁😁😁 I always enjoy reading your comments and I'm super happy you find my videos useful! A few more Python projects to experiment with - and you'll be able to ditch the beginner status in no time 😉
@azizurrehman9365
@azizurrehman9365 Жыл бұрын
I didn't know about this before, you attracted my attention, first I hot confused, but at the end you finally solved everything. Thanks teacher.
@christopherbenner7516
@christopherbenner7516 Жыл бұрын
I learned a lot from this. I had seen the code described, but never fully understood. Thank you.
@clairerovic
@clairerovic Жыл бұрын
The minute this video finished - I subscribed and gave it a thumbs up.
@amrosamier8547
@amrosamier8547 Жыл бұрын
I'm new to programming and I've already started learning python, this is the first video i watch on your channel and I'm amazed by how you simplify the information, Thanks a lot and keep going
@rojerdu2759
@rojerdu2759 2 жыл бұрын
This is the best explanation of if __name__ == '__main__' that I've seen to date. Thanks a lot! 🤗🤗🤗
@xcomputations
@xcomputations 2 жыл бұрын
Now, that's what is called an "EXPLANATION" AWESOME , THANKS 😁
@PythonSimplified
@PythonSimplified 2 жыл бұрын
hahaha thank you so much! Glad you liked it! 😀
@MrIsaacpr7
@MrIsaacpr7 Жыл бұрын
I’m really enjoying your videos a lot. I’ve been wondering why I write that exact line of code for weeks, with no clue as to why. Once again, you nailed it! Your way of explaining things in a digestible manner for a total beginner is unparalleled. Thank you for sharing.
@hawardjoseph2201
@hawardjoseph2201 Жыл бұрын
Your explanation is super great!!! I haven't anywhere seen such a great explanation, in my mind makes your teachings remember quite easy. Thank you so much and please continue making more and more videos for the world.
@crash1013
@crash1013 2 жыл бұрын
I leaned C a few years after it was released and then C++ to write GUI programs for Windows 3.11 on MFC 1.0. The topic of this video is the thing about all previous programming languages that I always felt was missing.You present it a very clear manner.
@CallousCoder
@CallousCoder 2 жыл бұрын
Or a good sensible syntax and entry point handling function called main, just like in C, C++, Rust 😂
@crash1013
@crash1013 2 жыл бұрын
@@CallousCoder main was certainly in C and well structured assembly language programs, Python rides on top of a gold mine of C libraries that do everything you need. The difference IMHO is that when you have a file based module in Python it is syntactically and semantically handled the same as any other library unit. That is my point and that is what I always missed in C. C has always given you the ability to code as callously as you wish. But you should know that. My Python program entries are always the same. Just like a well written C program What was not mentioned here if you do not structure you code like this you are running the risk that __del__ for class instances may not get called. def main(): result = 0 return result if __name__=="__main__": exit(main())
@victormatheus2066
@victormatheus2066 Жыл бұрын
So I'm learning English and Python either... but you clearified if __name__ = "__main__" in a way that I caught it ease. Of course, I'm begginer but I came here just from curiosity lol. Your speech is so great that I didn't need a CC to follow the video. You're amazing!
@Leandrys_
@Leandrys_ 2 ай бұрын
I love your speech skills. I'm not English speaker and I understood everything as you were speaking my language :| thanks
@phil5293
@phil5293 Жыл бұрын
I have to admin Mariya you're the best. I have been a developer for 25+ years and I'm trying to learn Python this late and only your tutorials make a lot of sense. I might me a Python programmer ONLY in the future if I go through all your numerous videos! Thanks Mariya.
@angelalopez1461
@angelalopez1461 2 жыл бұрын
Thanks!
@lilyempire
@lilyempire 4 ай бұрын
Finally understood the purpose of __main__. Thanks for explaining in simple terms :)
@thorenscientific
@thorenscientific Ай бұрын
Lucid explanation! I regularly refer my co-workers (and myself for that matter) to your channel.
@flomakinas
@flomakinas Жыл бұрын
Girl i I'm love with your content and with python thanks to you. Nice work! You explain very well. Usually i watch in 1.5 speed but with your videos i dont even need that because you explain in the perfect speed. Keep up the awesome work!
@Itamar960
@Itamar960 2 жыл бұрын
I have to say, the last chapter (the example) was the best presentation for this guide - now it makes sense. TNX!
@ammadkhan4687
@ammadkhan4687 2 жыл бұрын
Man, you're Best!!! no one could explain so well
@josefont11
@josefont11 6 ай бұрын
Wow! You are not just smart, but also have a beautiful voice. I am going to watch all your videos. Thank you.
@rellimsucram1
@rellimsucram1 2 жыл бұрын
The most beautiful coder I've ever seen
@niranjank353
@niranjank353 6 ай бұрын
love from india. You saved me so much time. thank you so much
@mkhadka123
@mkhadka123 Жыл бұрын
truly amamzed by the explanation, had some idea regarding __name__ and __main__ but never knew there were so many other things to learn such as top level code and top level environment. Many thanks Mariya :)
@brentsimpson3791
@brentsimpson3791 Жыл бұрын
Thank you, that's the best explanation of how this works that I've found...
@danieltauil5457
@danieltauil5457 2 жыл бұрын
Wowww! Thank you very much to explain how it works! Everything makes sense now!
@PythonSimplified
@PythonSimplified 2 жыл бұрын
Thank you for your comment, Daniel! Super happy to help! 😁😁😁
@ikemuoma8495
@ikemuoma8495 3 ай бұрын
Your tutorials are very clear, consise and informative.
@johnnygarcia7297
@johnnygarcia7297 2 жыл бұрын
i love your videos! you make things add up with just little simple code explaining every step. Not to mention your voice is addictive;)
@PythonSimplified
@PythonSimplified 2 жыл бұрын
Yeeey!! Thank you so much for the awesome comment, Johnny! 😁😁😁
@ClaudiaWick
@ClaudiaWick Жыл бұрын
excellent explanation! I already tried for longtime to understand the basics of this statement, not only demonstrations of what happens with or without it. Thank you to spend more time than others to explain this for beginners: it is really helpful!
@dc3295
@dc3295 Ай бұрын
mariya is such a talented teacher!
@sndselecta
@sndselecta 2 жыл бұрын
prolly the best explanation I've seen
@Artem36
@Artem36 2 жыл бұрын
Очень, очень качественно и классно. Смотрю по субтитрам,но нравится твой английский, хоть я его и не понимаю. Респект!
@PythonSimplified
@PythonSimplified 2 жыл бұрын
большое спасибо Артём!!! 😀😀😀
@311DaveR
@311DaveR 11 ай бұрын
Great explanation, I had this explained to me before but it wasn’t entirely clear, and this makes it much more clear. Now I totally get it. Thanks, great resource!
@sangaytamang7005
@sangaytamang7005 2 жыл бұрын
Thank you very much to you and youtube for suggesting me this content.
@PraveenKumar-yb5yp
@PraveenKumar-yb5yp Жыл бұрын
This is super easy to understand. Excellent concise explanation.
@PythonSimplified
@PythonSimplified Жыл бұрын
Thank you so much! Glad you liked it! 😊😊😊
@Daniel-nm4kt
@Daniel-nm4kt 9 ай бұрын
Best explanation I have ever seen. And I have seen many.
@PythonSimplified
@PythonSimplified 9 ай бұрын
Thank you so much!! :)
@r.jgrondin8018
@r.jgrondin8018 Жыл бұрын
Merci pour ces bon tutoriels qui me permettent de mieux comprendre python, flask, sqlalchemy et consort
@ITInsights101
@ITInsights101 11 ай бұрын
The best Video so far on KZbin. Thank you my colleague for the amazing
@axlrose5082
@axlrose5082 Жыл бұрын
I felt so illuminated at 7:35 LMAO. Thanks for the fantastic visual explanation!
@petermuller608
@petermuller608 2 жыл бұрын
I actually figured that much but never bothered to actually look it up. Now I know for sure thanks
@alcidesmarcano
@alcidesmarcano 2 жыл бұрын
The best explanation I ever seen so far on this topic… Thanks!!!
@GraceandWisdom
@GraceandWisdom 2 жыл бұрын
Mariya's mind is on a whole different level! Either she has to be the most competent person on the Internet-due to the fact that she doesn't hesitate when she speaks, nor does she pause to think about what she is saying-or she has an eidetic memory that can hold swaths of detailed information while staring into a camera lens!!
@OneStepDogTraining
@OneStepDogTraining 8 ай бұрын
work ethic, i.e. professional performers, ballerinas, etc.
@kevinh5212
@kevinh5212 5 ай бұрын
Extremely great explanation, really an inspiration for women in tech
@annabarachanou7124
@annabarachanou7124 11 ай бұрын
One of the most helpful videos on this
@DileebanSekara2001
@DileebanSekara2001 8 ай бұрын
there cannot be a another great explanation than this .superrrrb.❤liked it
@PARTner91
@PARTner91 Жыл бұрын
If only everyone could explain things as clearly as you do. Nice job, thank you.
@mazenyasser7208
@mazenyasser7208 2 жыл бұрын
I finally understand why PyQT5 includes it when converting .ui to .py, thank you.
@ShahinHemmati2020
@ShahinHemmati2020 2 жыл бұрын
Well, I think I should leave a honest review! If your video didn't have the "Why do we need to check if name == main" part, then I would have just move on and look for another resource. But thankfully the best was reserved for last and after many failed attempts to understand "If __name__ == "__main__"" concept, I can confidently say that now I do understand it. 😊 So, thank you for understanding what newbies don't understand! 🙌 👍
@PythonSimplified
@PythonSimplified 2 жыл бұрын
hahaha that's awesome, Shahin!! I've had my share of reading complicated explanations on Stack Overflow (well... not exactly "complicated" but require a good understanding of technical terms such as "top level environment", "interpreter", etc.) What ended up making much more sense was surprisingly the Python documentation on the topic 🤪: docs.python.org/3/library/__main__.html I definitely recommend giving it a quick read! it will show you how the docs are sometimes better than their interpretation hahaha 😅 And thank you so much for your lovely comment, I'm super happy I was able to help! 😁😁😁
@antdok9573
@antdok9573 2 жыл бұрын
@Ahk all the way! Reading the docs is an underrated discipline these days, at least at the language level. I dont blame people though. Ive been burned by poor docs many many times
@bobursuyunov00
@bobursuyunov00 2 жыл бұрын
This is the first video that I watched from your channel, and I love your teaching techniques
@Jamaipanese
@Jamaipanese 2 жыл бұрын
thank you! I finally understand it simply. You do such an amazing job breaking things down without being condescending like others do.
@lukajeliciclux3074
@lukajeliciclux3074 2 жыл бұрын
So much quality in this video. Simply perfection. Even thought I know a lot about if __name__ == '__main__' I found an additional information I've never know.
@jcmschott1895
@jcmschott1895 2 жыл бұрын
Amazing content! Pleeease keep it up! You built it up like a crescendo and suddenly became crystal clear why this "if __name == __main__:" stuff is so necessary.
@GiorgiKutchava-t6b
@GiorgiKutchava-t6b Жыл бұрын
you are Super-Smart person with great explanation skills!
Much Faster Pandas with cuDF GPU Processing - CPU vs GPU Speed Benchmarks
19:57
List Comprehension - BEST Python feature !!! Fast and Efficient
14:51
Python Simplified
Рет қаралды 199 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
If __name__ == '__main__' for Python Beginners
9:29
Indently
Рет қаралды 21 М.
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
OOP Class Inheritance and Private Class Members - Python for Beginners!
16:12
9 Hard Programming Truths
3:52
Ferguson Software Solutions, LLC
Рет қаралды 16 М.
Docker Simply Explained with a Machine Learning Project for Beginners
25:31
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 391 М.
5 Good Python Habits
17:35
Indently
Рет қаралды 667 М.
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,8 МЛН
Python Tutorial: if __name__ == '__main__'
8:43
Corey Schafer
Рет қаралды 2 МЛН