+ 6
Why don't we compile the program in Python before its execution?
6 Answers
+ 6
Python is an interpreted language. As opposite to compiled languages, it doesn't need to be compiled into a binary file, the python interpreter reads your file and interprets it as it reads it.
This is the case for most scripting languages, it results in an ease of use but generally lower performances.
However, some python librairies use compiled code in order to improve performances, so if you use the right modules, you can have performances equivalent to compiled languages.
+ 4
thanks Pierre Varlez
+ 4
Because Python compiles scripts to bytecode (*.pyc) automatically before execution,
+ 3
Does someone understand this question?
+ 3
Thanks Charan
+ 1
hey are you using any social media...
if you are interested in making good friends...
please give me your Facebook account name