What is the Python Interpreter? (How does Python Work?)

  Рет қаралды 88,528

Afternerd

Afternerd

Күн бұрын

Пікірлер: 167
@sajalchuttani2519
@sajalchuttani2519 Жыл бұрын
just devoted 4 hours today learning how the python interpreter works and this video just summarized it into a 15 min video . Nice explanation , love the way you just go about explaining the stuff on a digital white board instead of some fancy animation stuff (which ofc increases information quality) SUBSCRIBED
@ryezizzle
@ryezizzle Жыл бұрын
dude, i spent all day trying to figure this stuff out, and you explained it so well. subscribed!!!!
@quitchiboo
@quitchiboo 11 ай бұрын
Late to the party, but pretty much instantly subscribed. Clear, to the point, minimalist yet highly effective visual aids.
@umarbshehu7647
@umarbshehu7647 Жыл бұрын
Wow! You just saved a life here. Thanks a bunch. Is there a continuation of this video?? You stopped halfway.
@404-DreamsNotFound
@404-DreamsNotFound 7 ай бұрын
This is the best python mechanism of action explanation I've seen on the internet
@Bojan456
@Bojan456 Жыл бұрын
Amazing video. I love the added details from your old job and how it helps you to understand the new one. Thanks for sharing.
@androsp9105
@androsp9105 Жыл бұрын
Thank you for explaining this.
@Afternerd
@Afternerd Жыл бұрын
I appreciate it! Thank you!
@skpallu2649
@skpallu2649 Ай бұрын
Study help me
@gd2860
@gd2860 8 ай бұрын
Im the type of person who has to learn it from a very high level first then, the rest should fall into place. This fills a lot of gaps that ive had in getting started with python. Im new to this but again, I need to see the big picture first. Im an old network guy who mastered networking years ago. Been shying away from network automation but its what's here now and literally in my face at the workplace. Excellent explanation. Well done!
@aryandugar9810
@aryandugar9810 3 жыл бұрын
this was awesome. i have not seen content about such python concepts explained so well!
@karimamri4831
@karimamri4831 2 ай бұрын
You brought honor to our name in explaining the concepts well, good job! and thank you!
@CadPixel-why-not2455
@CadPixel-why-not2455 2 ай бұрын
great explanation , everyone says python is an interpreted language line by line but this vid says it all , thanks
@steveq1881
@steveq1881 3 жыл бұрын
I've been searching for this info everywhere! Thank you so much for going into the details of how it really works.
@averystehr
@averystehr 3 жыл бұрын
Thank you so much! Well said! I've been trying to find this exact information.
@PhamLinh-u3z
@PhamLinh-u3z 11 ай бұрын
Your way of explaining things is really clear and easy to understand! Thank you so much
@ColonelHathi
@ColonelHathi Жыл бұрын
This the best video explaining how an interpreter works. Thank you for giving details and examples, not hand waving magic! 😊
@danbromberg
@danbromberg Жыл бұрын
Excellent under-the-hood- description of what's going on!
@Fb-uv4jj
@Fb-uv4jj 4 жыл бұрын
came here from your website. i think that you explain simple because you know subjects well. useful for me. high quality content.
@Afternerd
@Afternerd 4 жыл бұрын
Thanks!
@jetbob309
@jetbob309 7 ай бұрын
I like your style of delivery! Id definitely buy a course from you! Thanks for the video
@linguaphile24
@linguaphile24 8 ай бұрын
This is so clear and informative i like to know whats going on to understand later how things work even if i wont go deep to these codes. Thank you for this
@ben_jammin242
@ben_jammin242 Жыл бұрын
I was hoping this video was going to explain the actual parsing of the python code into the execution model, defines, declares/variables, function calls. Lovely video though. Thanks for the explanation. It was extremely thorough and concise - you definitely seem to take the time to really understand things. Would love to see more content by you :). Great personality too. ❤ Edit: syntax tree I think is the terminology I was missing above
@SUPERHEAVYBOOSTER
@SUPERHEAVYBOOSTER 2 жыл бұрын
This was awesome. Thank you so much. It's so rare to find channels that really dig in deep!
@Aksinia1599
@Aksinia1599 Жыл бұрын
This is so enlightening! I have been looking for such explanation. Thank you very much for the video.
@AdrianCortes-b7f
@AdrianCortes-b7f 3 ай бұрын
I love that you said that ones and zeroes are just voltages on transistor
@estebangomez1823
@estebangomez1823 Жыл бұрын
This nailed it!!! Happy to found this channel!
@MAYANKKUMAR-vm3gy
@MAYANKKUMAR-vm3gy Жыл бұрын
Awesome extremely clear explanation, quick fix of basic python confusion..
@lucascerveracom
@lucascerveracom 9 ай бұрын
Great explanation! Thanks for sharing your knowledge in such an easy to understand way
@RaviRaj-je3rh
@RaviRaj-je3rh 3 жыл бұрын
Karim bro😎...Truely useful content & logically presented .... 🐅
@Afternerd
@Afternerd 3 жыл бұрын
Ravi! Thanks my man!
@brady1045
@brady1045 3 жыл бұрын
Well explained and super helpful, thank you!!
@ahmed51988
@ahmed51988 2 жыл бұрын
A very nice in-depth yet simple explanation
@WaldoTheWombat
@WaldoTheWombat 9 ай бұрын
Thank you Karim, excellent video! Why do interpreters convert source code to machine code one row at a time unlike compliers that convert the entire file all at once and what is the consequence of this difference?
@merrymouse2008
@merrymouse2008 Жыл бұрын
Wonderful video! You explain it so nicely and it is easy and interesting to follow. thank you so much for making it!
@MagicM2024
@MagicM2024 4 ай бұрын
Nice done. Thank you for this great and easy to catch tutorial
@sowmyaganiga4155
@sowmyaganiga4155 10 ай бұрын
Thanks for the information this is what needed to start with anything in IT , Please make more and more videos on basics
@thedoremaq
@thedoremaq 2 жыл бұрын
Thanks!
@UnleashedEntomber
@UnleashedEntomber 2 жыл бұрын
Well, it's the best explanation on the internet, what can I say. Great job!
@milton7285
@milton7285 4 жыл бұрын
Thanks for a simple video. Keep it simple!
@navnitkumar138
@navnitkumar138 11 ай бұрын
Nice Explanation. Very impressive tutorial for me. Now I learnt How Interpreter works. Thanks a lot..!
@uchihalayan3435
@uchihalayan3435 2 жыл бұрын
this is the best explanation for the interpreter thank you so much
@Nidza11q
@Nidza11q 3 жыл бұрын
Great stuff,so easy to follow and understand.It helps us,beginners,a lot!!
@prateeksharma962
@prateeksharma962 3 жыл бұрын
Great Video. Seen others, but this is the best explanation that I have come across. Thank you, you have strengthen my understanding.
@MohyDev
@MohyDev Жыл бұрын
Hey Karim, that was really great thanks!
@gianireyes405
@gianireyes405 4 жыл бұрын
Man, this is pure gold. I've been many time asking myself and looking for this information, and finally I got a good explanation. Thanks, really. Aaaaaand I have a question if u don't mind: When you talk about the "memory" , you mean the memory unit in the processor, or something else ?
@Afternerd
@Afternerd 4 жыл бұрын
I am happy to know that someone “cares” about this level of detail :). Thanks for your kind words. And yes, you are right, I am talking about the RAM that comes with your desktop/laptop. It is not really “in” the processor but it is connected to the processor. A processor has a component called a memory management unit (MMU) but this is not what I am talking about. I am talking about the actual RAM.
@mosheglobus1124
@mosheglobus1124 3 жыл бұрын
Thank you. High-quality content!
@szhang2097
@szhang2097 Ай бұрын
I always like this type videos. Excellent and thanks
@subhashgn1775
@subhashgn1775 3 жыл бұрын
Very well explained....👌👌 Thank you..🤝
@madhanrajmoorthy8843
@madhanrajmoorthy8843 4 жыл бұрын
Hi Bro, It's amazing way you have explained. I was expecting in my mind to learn like this. Since, the understanding of hard part will be reduced when we learn using basics with super diagrams. Hats off bro. Thank you so much. :)
@Afternerd
@Afternerd 4 жыл бұрын
Glad you found it useful! Thank you.
@aryamick
@aryamick 2 жыл бұрын
Thanks a lot, bro!! That was indeed both insightful and easy to understand.
@gopesh97
@gopesh97 2 жыл бұрын
Amazing!! Thank you so much for posting this.
@YesuSira
@YesuSira 3 жыл бұрын
Thank you, this was basic and explained in easy-to-digest bites.
@hanan_almulla
@hanan_almulla Жыл бұрын
finally a great explanation!! thanks a lot :)
@johnkunz7798
@johnkunz7798 Жыл бұрын
This is such an awesome explanation. I've watched and read stuff on the GIL and how it regulates threads. Please explain this and how this somehow works optimally for IO operations.
@azertyman776
@azertyman776 3 жыл бұрын
Nice video ! It helped me a lot, keep going !
@ItzRaiyan
@ItzRaiyan 3 жыл бұрын
Brilliant Video! This was a very informative and detailed video
@promechafox8083
@promechafox8083 3 жыл бұрын
What an Amazing video. Very Easy to understand : )
@jordinp2140
@jordinp2140 3 жыл бұрын
I needed this, Thanks! Really well done.
@yusupovjasur
@yusupovjasur 2 жыл бұрын
Great in-depth tutorial, thank you!
@soulelemanator97
@soulelemanator97 2 жыл бұрын
This was so helpful and well said
@davidkuda7074
@davidkuda7074 4 жыл бұрын
that was very informative, thank you so much for doing this!
@jeeveshvanga2598
@jeeveshvanga2598 2 жыл бұрын
cool and clear explanation 🎉
@fentazimohamedreadh5274
@fentazimohamedreadh5274 2 жыл бұрын
Thank you for making this video. I managed to understand it clearly (though I have a decentbackground in computer science). But I'm sure even a beginner would understand modt of it. Make more of those thank you!
@zakriazaheen7616
@zakriazaheen7616 4 жыл бұрын
I recommend sir lectures for very beginners so much friendly and easy .
@utkarshujwal3286
@utkarshujwal3286 Жыл бұрын
Thank you so much. It clarified a lot of my doubts.
@renanaoki714
@renanaoki714 Жыл бұрын
Now all make sense, thanks 👏👏👏👏👏👏👏
@hemalakshmi1187
@hemalakshmi1187 Жыл бұрын
your teaching was amazing and thankyou so much
@HemanthKumardigital
@HemanthKumardigital Жыл бұрын
Thanks bro , for clear explination its really helps
@barjammar
@barjammar 2 жыл бұрын
Thanks. I agree with you that understanding stuff is easier than just learning and remembering. I'm also looking for a lesson on what all the windows are in PyCharm. How do I get rid of them or use them. Also, point a particular window at the file in use rather than the file I was using yesterday!
@akari.creates
@akari.creates 2 жыл бұрын
Likewise..
@terrencemasuku8909
@terrencemasuku8909 2 жыл бұрын
man that was so cool. keep it up
@LC-sx2ht
@LC-sx2ht 2 жыл бұрын
Great explanation, thank you!
@blandon93
@blandon93 Жыл бұрын
.pyc is some kind of assembler-like program. instruction 1 is write to a memory adress. q is how does it know where to write, I guess python takes some portion of ram when you run the interface, or OS give the adresses.
@hisstoryinthemaking613
@hisstoryinthemaking613 2 жыл бұрын
excellent work explaining this.. very practical 🙂👌🏽
@rajarsiroy6362
@rajarsiroy6362 Жыл бұрын
Great explanation, thanks
@guilhemescudero9114
@guilhemescudero9114 4 жыл бұрын
THANKS! Amazing work man!
@zui0per342
@zui0per342 3 жыл бұрын
Started learning python today, i wonder why there are not that many people here
@tatyanatarasova6480
@tatyanatarasova6480 2 жыл бұрын
I'm a nerd! )) couldn't stop asking myself how it works. Thank you!
@celestial2091
@celestial2091 3 жыл бұрын
Amazing video!!
@mujelsh9347
@mujelsh9347 4 жыл бұрын
Thank you brother. Great video Ya Mo3alem
@tehDIMND
@tehDIMND 3 жыл бұрын
thx man, awesome explanation :)
@qusirramzan3497
@qusirramzan3497 2 жыл бұрын
Hi, dear can you please explain that why we get error while run this instruction 2**2 in Python Terminal (VS Code) [Error: You must provide a value expression following the '*' operator]
@Mike-og4wc
@Mike-og4wc 2 жыл бұрын
Great video, thanks a lot!
@personsname0
@personsname0 3 жыл бұрын
Great explanation!
@nabanitabarik4419
@nabanitabarik4419 3 жыл бұрын
Thanks man. 👍 It helps lot 😊
@awusacollins
@awusacollins Жыл бұрын
Great explanation)
@peek-aaa-boo758
@peek-aaa-boo758 4 жыл бұрын
Helpful stuff 👏
@mo7sin711
@mo7sin711 8 ай бұрын
I need help I'm studying the freecodecamp course, and when i type the following code for the conditional exercise x = 0 y = 10 if 0 == x: if y == 10: print('YES') the output in the VS code terminal is Syntax Error however when I run it in python itself or an online compiler, it runs successfully and prints YES I need help :(
@VinodMoorkoth
@VinodMoorkoth 3 жыл бұрын
Great Video bro
@yonahcitron226
@yonahcitron226 2 жыл бұрын
Really Great info
@web_hub
@web_hub 2 жыл бұрын
Thank you, sir ☺️💛
@ricomajestic
@ricomajestic 3 жыл бұрын
Do you recommend any books that go under the hood of python even deeper? That also go into why the language was designed the way it was, how and why it works the way it does, why it’s better than other languages, why it’s not, etc.
@mayeganfriends6678
@mayeganfriends6678 11 ай бұрын
I'm subscribing.....Gold information here
@halim_Ha
@halim_Ha 4 жыл бұрын
damn this is amazing man
@mustgame2233
@mustgame2233 2 жыл бұрын
wow. Great Job!!!
@reccon_game
@reccon_game 2 жыл бұрын
Thank s this is very easy to understand
@lxzhang4911
@lxzhang4911 4 жыл бұрын
Hi Sir, thanks a lot for the video. It's really very helpful. Still I have a doubt: if in the source code there are more than one statements e.g. 1). a=3, b=5; 2). c=a+b; 3). print c; Will all the statements be compiled into the byte code at one time and then dealed with PVM? Or the 1st statement will be compiled and handled by PVM, then the 2nd compiled and handled by PVM, then the 3rd compiled and handled by PVM?
@Afternerd
@Afternerd 4 жыл бұрын
Great question! First off, this is an implementation detail. There are various Python implementations. In CPython (the canonical Python implementation), all source code statements will be compiled into byte code first, and then the PVM will fetch and execute the byte code one instruction at a time. There are some implementations however that use JIT for example which is closer to the first case that you described.
@lxzhang4911
@lxzhang4911 4 жыл бұрын
@@Afternerd Yes I see in the wiki, there are several variations of interpreter. But I cannot understand them that clearly. Anyway thank you a lot for your video and your answer! It helps me a lot:)
@matheuscerozi6649
@matheuscerozi6649 2 жыл бұрын
thank you, it helped me a lot
@avikjis27
@avikjis27 3 жыл бұрын
Following the steps you mentioned, I didn't find the __pycache__(double underscored) folder created in my OSx machine. Any clue why? But if I use python 2 then it creates hello.pyc file in the same directory.
@josemanueltrujillorodrigue1838
@josemanueltrujillorodrigue1838 2 жыл бұрын
What a great job!!!!
@amarpreetkaur4477
@amarpreetkaur4477 2 жыл бұрын
Where I can apply for job if I have only knowledge of 3 levels?
@emaniftikhar4632
@emaniftikhar4632 4 жыл бұрын
So am I right that the memory stores programs and the CPU fetches those programs/instructions to execute them and hence produce an output ? Also why is python script mode and python shell are known as python interpreters?
@Afternerd
@Afternerd 4 жыл бұрын
You are absolutely right!
@emaniftikhar4632
@emaniftikhar4632 4 жыл бұрын
Thank-you
@byroniniesta5370
@byroniniesta5370 9 ай бұрын
Thank you sir.👍
@sosobel5220
@sosobel5220 3 жыл бұрын
Please, is it possible to compile into java bite code than run the code under jvm which mean output a 100% java code.
@herdenq
@herdenq 2 жыл бұрын
It's certainly possible. You may need to write the compiler, though.
Guido van Rossum explains Python programming
20:54
Lex Clips
Рет қаралды 237 М.
How do computers read code?
12:01
Frame of Essence
Рет қаралды 3,2 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
The Complete Guide to Python Virtual Environments!
15:52
teclado
Рет қаралды 382 М.
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 477 М.
Just In Time (JIT) Compilers - Computerphile
10:41
Computerphile
Рет қаралды 287 М.
10 Signs Your Software Project Is Heading For FAILURE
17:59
Continuous Delivery
Рет қаралды 11 М.
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,8 МЛН
Is Python Compiled or Interpreted?
14:25
Neso Academy
Рет қаралды 68 М.
5 Good Python Habits
17:35
Indently
Рет қаралды 706 М.
How Long Does It Take to Learn Python? (And Get a Job)
9:13
Afternerd
Рет қаралды 921 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1,3 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН