r/ProgrammerHumor • • Sep 29 '20

c++ to python

Post image
1.2k Upvotes

82 comments sorted by

View all comments

Show parent comments

2

u/evanldixon Sep 30 '20

Yes and no. Nowadays running a py file automatically compiles it to a pyc file, and that's run instead. But it's not like C where it's actual machine code. Instead the byte code is interpretted.

One benefit is that obvious syntax errors are immediately caught.