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

Поделиться
HTML-код
  • Опубликовано: 25 авг 2020
  • What is the Python interpreter and how does Python work internally?
    In this video, I talk about how the Python interpreter works and how it runs your Python source code. Essentially, the Python interpreter is comprised of two subsystems:
    1- A compiler: this compiles your source code into an intermediate code called the 'byte code'
    2- A Python virtual machine (PVM): this interprets and executes the byte code on your machine.
    A good understanding of the concepts discussed in this video is crucial if you want to master the Python programming language.
    Resources:
    📝 Python Cheatsheet: www.afternerd.com/blog/get-py...
    🖥️ Computer Science guide: www.afternerd.com/blog/learn-...
    🐍 Python roadmap guide: www.afternerd.com/blog/learn-...
    Courses:
    📚 Python OOP: www.afternerd.com/udemy/pytho...
    Where you can find me:
    ℹ️ Website: www.afternerd.com/
    📸 Instagram: / the_kreamix
    🐦 Twitter: / afternerdtweets

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

  • @sajalchuttani2519
    @sajalchuttani2519 Год назад +18

    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

  • @steveq1881
    @steveq1881 3 года назад +4

    I've been searching for this info everywhere! Thank you so much for going into the details of how it really works.

  • @Bojan456
    @Bojan456 Год назад +3

    Amazing video. I love the added details from your old job and how it helps you to understand the new one. Thanks for sharing.

  • @ryezizzle
    @ryezizzle Год назад +2

    dude, i spent all day trying to figure this stuff out, and you explained it so well. subscribed!!!!

  • @aryandugar9810
    @aryandugar9810 3 года назад +4

    this was awesome. i have not seen content about such python concepts explained so well!

  • @ColonelHathi
    @ColonelHathi 11 месяцев назад

    This the best video explaining how an interpreter works. Thank you for giving details and examples, not hand waving magic! 😊

  • @SUPERHEAVYBOOSTER
    @SUPERHEAVYBOOSTER 2 года назад

    This was awesome. Thank you so much. It's so rare to find channels that really dig in deep!

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

    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

  • @averystehr
    @averystehr 3 года назад +20

    Thank you so much! Well said! I've been trying to find this exact information.

  • @user-sl2ti8yg5m
    @user-sl2ti8yg5m 5 месяцев назад

    Your way of explaining things is really clear and easy to understand! Thank you so much

  • @prateeksharma962
    @prateeksharma962 2 года назад

    Great Video. Seen others, but this is the best explanation that I have come across. Thank you, you have strengthen my understanding.

  • @web-unlocked
    @web-unlocked Месяц назад

    This is the best python mechanism of action explanation I've seen on the internet

  • @Aksinia1599
    @Aksinia1599 Год назад +1

    This is so enlightening! I have been looking for such explanation. Thank you very much for the video.

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

    Great explanation! Thanks for sharing your knowledge in such an easy to understand way

  • @Nidza11q
    @Nidza11q 3 года назад +5

    Great stuff,so easy to follow and understand.It helps us,beginners,a lot!!

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

    Late to the party, but pretty much instantly subscribed. Clear, to the point, minimalist yet highly effective visual aids.

  • @danbromberg
    @danbromberg 10 месяцев назад

    Excellent under-the-hood- description of what's going on!

  • @aryamick
    @aryamick Год назад

    Thanks a lot, bro!! That was indeed both insightful and easy to understand.

  • @MAYANKKUMAR-vm3gy
    @MAYANKKUMAR-vm3gy Год назад

    Awesome extremely clear explanation, quick fix of basic python confusion..

  • @YesuSira
    @YesuSira 2 года назад +1

    Thank you, this was basic and explained in easy-to-digest bites.

  • @brady1045
    @brady1045 3 года назад +7

    Well explained and super helpful, thank you!!

  • @davidkuda7074
    @davidkuda7074 3 года назад +1

    that was very informative, thank you so much for doing this!

  • @ahmed51988
    @ahmed51988 Год назад

    A very nice in-depth yet simple explanation

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

    Wonderful video! You explain it so nicely and it is easy and interesting to follow. thank you so much for making it!

  • @yusupovjasur
    @yusupovjasur 2 года назад

    Great in-depth tutorial, thank you!

  • @utkarshujwal3286
    @utkarshujwal3286 Год назад

    Thank you so much. It clarified a lot of my doubts.

  • @milton7285
    @milton7285 4 года назад +2

    Thanks for a simple video. Keep it simple!

  • @UnleashedEntomber
    @UnleashedEntomber Год назад

    Well, it's the best explanation on the internet, what can I say. Great job!

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

    I like your style of delivery! Id definitely buy a course from you! Thanks for the video

  • @estebangomez1823
    @estebangomez1823 7 месяцев назад

    This nailed it!!! Happy to found this channel!

  • @ItzRaiyan
    @ItzRaiyan 2 года назад

    Brilliant Video! This was a very informative and detailed video

  • @jordinp2140
    @jordinp2140 3 года назад

    I needed this, Thanks! Really well done.

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

    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!

  • @gopesh97
    @gopesh97 Год назад

    Amazing!!
    Thank you so much for posting this.

  • @uchihalayan3435
    @uchihalayan3435 2 года назад

    this is the best explanation for the interpreter thank you so much

  • @HemanthKumardigital
    @HemanthKumardigital Год назад

    Thanks bro , for clear explination its really helps

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

    Thanks for the information this is what needed to start with anything in IT , Please make more and more videos on basics

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

    Nice Explanation. Very impressive tutorial for me. Now I learnt How Interpreter works. Thanks a lot..!

  • @mosheglobus1124
    @mosheglobus1124 2 года назад +1

    Thank you. High-quality content!

  • @hanan_almulla
    @hanan_almulla 10 месяцев назад

    finally a great explanation!! thanks a lot :)

  • @hemalakshmi1187
    @hemalakshmi1187 Год назад

    your teaching was amazing and thankyou so much

  • @rajarsiroy6362
    @rajarsiroy6362 10 месяцев назад

    Great explanation, thanks

  • @soulelemanator97
    @soulelemanator97 Год назад

    This was so helpful and well said

  • @Mike-og4wc
    @Mike-og4wc 2 года назад

    Great video, thanks a lot!

  • @promechafox8083
    @promechafox8083 2 года назад

    What an Amazing video. Very Easy to understand : )

  • @MohyDev
    @MohyDev Год назад

    Hey Karim, that was really great thanks!

  • @azertyman776
    @azertyman776 3 года назад

    Nice video ! It helped me a lot, keep going !

  • @fentazimohamedreadh5274
    @fentazimohamedreadh5274 Год назад

    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!

  • @jeeveshvanga2598
    @jeeveshvanga2598 2 года назад

    cool and clear explanation 🎉

  • @guilhemescudero9114
    @guilhemescudero9114 3 года назад

    THANKS! Amazing work man!

  • @LC-sx2ht
    @LC-sx2ht 2 года назад

    Great explanation, thank you!

  • @renanaoki714
    @renanaoki714 10 месяцев назад

    Now all make sense, thanks 👏👏👏👏👏👏👏

  • @johnkunz7798
    @johnkunz7798 11 месяцев назад

    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.

  • @umarbshehu7647
    @umarbshehu7647 Год назад

    Wow! You just saved a life here. Thanks a bunch.
    Is there a continuation of this video?? You stopped halfway.

  • @zakriazaheen7616
    @zakriazaheen7616 3 года назад

    I recommend sir lectures for very beginners so much friendly and easy .

  • @hisstoryinthemaking613
    @hisstoryinthemaking613 2 года назад

    excellent work explaining this.. very practical 🙂👌🏽

  • @mujelsh9347
    @mujelsh9347 3 года назад

    Thank you brother. Great video Ya Mo3alem

  • @tehDIMND
    @tehDIMND 2 года назад

    thx man, awesome explanation :)

  • @ben_jammin242
    @ben_jammin242 Год назад +1

    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

  • @terrencemasuku8909
    @terrencemasuku8909 2 года назад

    man that was so cool. keep it up

  • @reccon_game
    @reccon_game 2 года назад

    Thank s this is very easy to understand

  • @celestial2091
    @celestial2091 2 года назад

    Amazing video!!

  • @subhashgn1775
    @subhashgn1775 2 года назад

    Very well explained....👌👌
    Thank you..🤝

  • @matheuscerozi6649
    @matheuscerozi6649 Год назад

    thank you, it helped me a lot

  • @yonahcitron226
    @yonahcitron226 2 года назад

    Really Great info

  • @awusacollins
    @awusacollins 11 месяцев назад

    Great explanation)

  • @mustgame2233
    @mustgame2233 2 года назад

    wow. Great Job!!!

  • @personsname0
    @personsname0 3 года назад

    Great explanation!

  • @web_hub
    @web_hub 2 года назад

    Thank you, sir ☺️💛

  • @josemanueltrujillorodrigue1838

    What a great job!!!!

  • @androsp9105
    @androsp9105 11 месяцев назад

    Thank you for explaining this.

    • @Afternerd
      @Afternerd  11 месяцев назад

      I appreciate it! Thank you!

  • @peek-aaa-boo758
    @peek-aaa-boo758 3 года назад

    Helpful stuff 👏

  • @nabanitabarik4419
    @nabanitabarik4419 3 года назад

    Thanks man. 👍 It helps lot 😊

  • @jkommu
    @jkommu 2 года назад

    Lovely. Thank you

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

    Thank you sir.👍

  • @Fb-uv4jj
    @Fb-uv4jj 3 года назад

    came here from your website. i think that you explain simple because you know subjects well. useful for me. high quality content.

  • @user-zr8tq3zf3b
    @user-zr8tq3zf3b Год назад

    Thank you so much!!

  • @madhanrajmoorthy8843
    @madhanrajmoorthy8843 3 года назад +3

    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  3 года назад +2

      Glad you found it useful! Thank you.

  • @ericay4054
    @ericay4054 3 года назад

    It is incredibly useful! thanks :)

  • @RoboMarchello
    @RoboMarchello 2 года назад

    Thank you!

  • @subhankarmodumudi9033
    @subhankarmodumudi9033 3 года назад

    Great & Thankyou.

  • @zuzanwin6614
    @zuzanwin6614 7 месяцев назад

    Thank you so much

  • @VinodMoorkoth
    @VinodMoorkoth 3 года назад

    Great Video bro

  • @rexxer8055
    @rexxer8055 Год назад

    Awesome 😃

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

    Amazing 🎉🎉🎉

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

    I'm subscribing.....Gold information here

  • @blackopsparis4709
    @blackopsparis4709 3 года назад

    Thank you so much for this, I've learned a lot about compiling and disassembly phyton. you have a thumbs up!

  • @RaviRaj-je3rh
    @RaviRaj-je3rh 3 года назад +1

    Karim bro😎...Truely useful content & logically presented .... 🐅

    • @Afternerd
      @Afternerd  3 года назад +1

      Ravi! Thanks my man!

  • @halim_Ha
    @halim_Ha 3 года назад +4

    damn this is amazing man

  • @user-ym2nq1gu2u
    @user-ym2nq1gu2u 8 месяцев назад

    Thank you :)

  • @tatyanatarasova6480
    @tatyanatarasova6480 2 года назад

    I'm a nerd! )) couldn't stop asking myself how it works. Thank you!

  • @thedoremaq
    @thedoremaq Год назад

    Thanks!

  • @gianireyes405
    @gianireyes405 3 года назад +2

    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  3 года назад +3

      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.

  • @VinodMoorkoth
    @VinodMoorkoth 3 года назад

    Subscribed !

  • @barjammar
    @barjammar Год назад

    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!

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

    Thanks bro

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

    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?

  • @salonisingh9171
    @salonisingh9171 3 года назад +2

    Amazing ❤️

  • @css_prep_essay
    @css_prep_essay 2 года назад

    Awesome

  • @scaledeals-io
    @scaledeals-io 5 месяцев назад

    This was awesome! Thank you!