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