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.

24th Dec 2019, 1:15 PM
Thab'ang Sithole
Thab'ang Sithole - avatar
5 Answers
+ 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.
24th Dec 2019, 1:22 PM
Bahha┣
Bahha┣ - avatar
+ 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.
25th Dec 2019, 3:00 AM
Ahri Fox
Ahri Fox - avatar
+ 4
yes, in python and other scripting languages.
24th Dec 2019, 1:31 PM
Bahha┣
Bahha┣ - avatar
+ 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?
24th Dec 2019, 1:28 PM
Thab'ang Sithole
Thab'ang Sithole - avatar
+ 1
Oh Thanks🌟
24th Dec 2019, 1:32 PM
Thab'ang Sithole
Thab'ang Sithole - avatar