0

Why python does not need to be compiled?

26th Sep 2016, 10:39 AM
Arya Stark
Arya Stark - avatar
2 Answers
+ 1
Compilation tends to be non-portable: a Windows binary doesn't directly work on OS X, but interpreted source code does. On the flip side, though python's code is easier to read than binary, interpretation (which is done every time, while compilers interpret once) is slower. On modern equipment the difference often doesn't matter much to people.
30th Sep 2016, 4:23 PM
Kirk Schafer
Kirk Schafer - avatar
0
Python is an interpreted language. Its interpreter executes each statement line by line. If there is an error in that statement it throws an error and stop right there.
26th Sep 2016, 8:47 PM
Susan Ghosh