0
What does this statement mean?
Python is processed at runtime by the interpreter. There is no need to compile your program before executing it.
5 odpowiedzi
+ 5
in compiled languages you have at least two files one where you write your code and another to run your code.
in C/C ++ for example : (file. cpp) for code and ( file.exe) to execute the code. file.exe (windows) is produced when you compile file.cpp
in python you only need to execute the file where you write your code.
+ 6
Normally programs are compiled into binaries from source code. Which is what the computer uses to run a program/application. Like say, SoloLearn .
A interpretted language does something clever. It makes the binary program itself compile or run code off source code on the fly when the binary is ran. Meaning others don't have to compile.
This usually has a preformance decrease for the interpretated language. It's like a trade off.
+ 4
yes, in python and other scripting languages.
+ 2
Oh so in python you just need to execute the file where you write your code then the interpreter will run the code, is that what you mean?
+ 1
Oh Thanks🌟