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

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ม.ค. 2025

ความคิดเห็น • 167

  • @sajalchuttani2519
    @sajalchuttani2519 ปีที่แล้ว +28

    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 ปีที่แล้ว +5

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

  • @quitchiboo
    @quitchiboo 11 หลายเดือนก่อน +1

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

  • @gd2860
    @gd2860 8 หลายเดือนก่อน +1

    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!

  • @404-DreamsNotFound
    @404-DreamsNotFound 7 หลายเดือนก่อน +1

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

  • @umarbshehu7647
    @umarbshehu7647 ปีที่แล้ว +1

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

  • @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.

  • @aryandugar9810
    @aryandugar9810 3 ปีที่แล้ว +4

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

  • @averystehr
    @averystehr 3 ปีที่แล้ว +22

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

  • @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.

  • @karimamri4831
    @karimamri4831 2 หลายเดือนก่อน

    You brought honor to our name in explaining the concepts well, good job! and thank you!

  • @PhamLinh-u3z
    @PhamLinh-u3z 10 หลายเดือนก่อน

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

  • @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

  • @androsp9105
    @androsp9105 ปีที่แล้ว +1

    Thank you for explaining this.

    • @Afternerd
      @Afternerd  ปีที่แล้ว +1

      I appreciate it! Thank you!

    • @skpallu2649
      @skpallu2649 หลายเดือนก่อน

      Study help me

  • @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.

  • @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

  • @jetbob309
    @jetbob309 7 หลายเดือนก่อน

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

  • @Aksinia1599
    @Aksinia1599 ปีที่แล้ว +1

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

  • @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

  • @MAYANKKUMAR-vm3gy
    @MAYANKKUMAR-vm3gy ปีที่แล้ว

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

  • @brady1045
    @brady1045 3 ปีที่แล้ว +7

    Well explained and super helpful, thank you!!

  • @SUPERHEAVYBOOSTER
    @SUPERHEAVYBOOSTER 2 ปีที่แล้ว

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

  • @RaviRaj-je3rh
    @RaviRaj-je3rh 3 ปีที่แล้ว +1

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

    • @Afternerd
      @Afternerd  3 ปีที่แล้ว +1

      Ravi! Thanks my man!

  • @ahmed51988
    @ahmed51988 2 ปีที่แล้ว

    A very nice in-depth yet simple explanation

  • @lucascerveracom
    @lucascerveracom 9 หลายเดือนก่อน

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

  • @merrymouse2008
    @merrymouse2008 11 หลายเดือนก่อน

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

  • @Nidza11q
    @Nidza11q 3 ปีที่แล้ว +5

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

  • @milton7285
    @milton7285 4 ปีที่แล้ว +2

    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..!

  • @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

  • @MagicM2024
    @MagicM2024 4 หลายเดือนก่อน

    Nice done. Thank you for this great and easy to catch tutorial

  • @UnleashedEntomber
    @UnleashedEntomber 2 ปีที่แล้ว

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

  • @uchihalayan3435
    @uchihalayan3435 2 ปีที่แล้ว

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

  • @thedoremaq
    @thedoremaq 2 ปีที่แล้ว

    Thanks!

  • @estebangomez1823
    @estebangomez1823 ปีที่แล้ว

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

  • @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.

  • @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.

  • @AdrianCortes-b7f
    @AdrianCortes-b7f 3 หลายเดือนก่อน

    I love that you said that ones and zeroes are just voltages on transistor

  • @YesuSira
    @YesuSira 3 ปีที่แล้ว +1

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

  • @mosheglobus1124
    @mosheglobus1124 3 ปีที่แล้ว +1

    Thank you. High-quality content!

  • @szhang2097
    @szhang2097 24 วันที่ผ่านมา

    I always like this type videos. Excellent and thanks

  • @gianireyes405
    @gianireyes405 4 ปีที่แล้ว +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  4 ปีที่แล้ว +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.

  • @MohyDev
    @MohyDev ปีที่แล้ว

    Hey Karim, that was really great thanks!

  • @gopesh97
    @gopesh97 2 ปีที่แล้ว

    Amazing!!
    Thank you so much for posting this.

  • @aryamick
    @aryamick 2 ปีที่แล้ว

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

  • @hanan_almulla
    @hanan_almulla ปีที่แล้ว

    finally a great explanation!! thanks a lot :)

  • @subhashgn1775
    @subhashgn1775 3 ปีที่แล้ว

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

  • @ItzRaiyan
    @ItzRaiyan 3 ปีที่แล้ว

    Brilliant Video! This was a very informative and detailed video

  • @promechafox8083
    @promechafox8083 3 ปีที่แล้ว

    What an Amazing video. Very Easy to understand : )

  • @zakriazaheen7616
    @zakriazaheen7616 4 ปีที่แล้ว

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

  • @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!

  • @davidkuda7074
    @davidkuda7074 4 ปีที่แล้ว +1

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

  • @HemanthKumardigital
    @HemanthKumardigital ปีที่แล้ว

    Thanks bro , for clear explination its really helps

  • @hemalakshmi1187
    @hemalakshmi1187 ปีที่แล้ว

    your teaching was amazing and thankyou so much

  • @utkarshujwal3286
    @utkarshujwal3286 ปีที่แล้ว

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

  • @azertyman776
    @azertyman776 3 ปีที่แล้ว

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

  • @yusupovjasur
    @yusupovjasur 2 ปีที่แล้ว

    Great in-depth tutorial, thank you!

  • @jordinp2140
    @jordinp2140 3 ปีที่แล้ว

    I needed this, Thanks! Really well done.

  • @soulelemanator97
    @soulelemanator97 2 ปีที่แล้ว

    This was so helpful and well said

  • @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]

  • @jeeveshvanga2598
    @jeeveshvanga2598 2 ปีที่แล้ว

    cool and clear explanation 🎉

  • @renanaoki714
    @renanaoki714 ปีที่แล้ว

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

  • @terrencemasuku8909
    @terrencemasuku8909 2 ปีที่แล้ว

    man that was so cool. keep it up

  • @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 :(

  • @hisstoryinthemaking613
    @hisstoryinthemaking613 2 ปีที่แล้ว

    excellent work explaining this.. very practical 🙂👌🏽

  • @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.

  • @rajarsiroy6362
    @rajarsiroy6362 ปีที่แล้ว

    Great explanation, thanks

  • @LC-sx2ht
    @LC-sx2ht 2 ปีที่แล้ว

    Great explanation, thank you!

  • @mujelsh9347
    @mujelsh9347 4 ปีที่แล้ว

    Thank you brother. Great video Ya Mo3alem

  • @tatyanatarasova6480
    @tatyanatarasova6480 2 ปีที่แล้ว

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

  • @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!

  • @guilhemescudero9114
    @guilhemescudero9114 4 ปีที่แล้ว

    THANKS! Amazing work man!

  • @celestial2091
    @celestial2091 3 ปีที่แล้ว

    Amazing video!!

  • @tehDIMND
    @tehDIMND 3 ปีที่แล้ว

    thx man, awesome explanation :)

  • @awusacollins
    @awusacollins ปีที่แล้ว

    Great explanation)

  • @WaldoTheWombat
    @WaldoTheWombat 8 หลายเดือนก่อน

    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?

  • @Mike-og4wc
    @Mike-og4wc 2 ปีที่แล้ว

    Great video, thanks a lot!

  • @personsname0
    @personsname0 3 ปีที่แล้ว

    Great explanation!

  • @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.

  • @VinodMoorkoth
    @VinodMoorkoth 3 ปีที่แล้ว

    Great Video bro

  • @nabanitabarik4419
    @nabanitabarik4419 3 ปีที่แล้ว

    Thanks man. 👍 It helps lot 😊

  • @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.

  • @mustgame2233
    @mustgame2233 2 ปีที่แล้ว

    wow. Great Job!!!

  • @mayeganfriends6678
    @mayeganfriends6678 10 หลายเดือนก่อน

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

  • @yonahcitron226
    @yonahcitron226 2 ปีที่แล้ว

    Really Great info

  • @reccon_game
    @reccon_game 2 ปีที่แล้ว

    Thank s this is very easy to understand

  • @peek-aaa-boo758
    @peek-aaa-boo758 4 ปีที่แล้ว

    Helpful stuff 👏

  • @matheuscerozi6649
    @matheuscerozi6649 2 ปีที่แล้ว

    thank you, it helped me a lot

  • @web_hub
    @web_hub 2 ปีที่แล้ว

    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.

  • @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?

  • @josemanueltrujillorodrigue1838
    @josemanueltrujillorodrigue1838 2 ปีที่แล้ว

    What a great job!!!!

  • @halim_Ha
    @halim_Ha 4 ปีที่แล้ว +4

    damn this is amazing man

  • @snippletrap
    @snippletrap 2 ปีที่แล้ว

    Why compile to VM byte code? Why not compile directly to machine code?

  • @CanDoSo_org
    @CanDoSo_org ปีที่แล้ว

    Hi, to be frank, this does not help me to understand different python path or environment. There are several python versions in my MacBook. But it always report errors when I use python in different IDE, like Rstudio, VsCode, or terminal. Very confusing when I run into such error warnings.

  • @ericay4054
    @ericay4054 4 ปีที่แล้ว

    It is incredibly useful! thanks :)

  • @byroniniesta5370
    @byroniniesta5370 8 หลายเดือนก่อน

    Thank you sir.👍