Python compilation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Python compilation

One of the options in question from Python Basic Concepts 2nd question says "Python code must be always compiled" and is false. Why?

30th Jun 2018, 8:45 PM
Goshgar Mikayilov
Goshgar Mikayilov - avatar
4 Answers
+ 2
You have to run your Python Codes in an Interpreter (eg. Pydroid on your Smartphone). Other Language, like c++, must be compiled to create an executable File.
30th Jun 2018, 9:22 PM
Sebastian Keßler
Sebastian Keßler - avatar
+ 1
Theres two types of languages... Compiled - the language is translated using software called a ‘compiler’ into another one which can be run later, if the compiler produces efficent good code it, the code generated should be faster e.g. C++ into assemly into machine code (binary) Interpreted - the code is executed on the run using an ‘interpreter’ e.g. Python
30th Jun 2018, 10:13 PM
TurtleShell
TurtleShell - avatar
0
thanks, i had very little experience with C++ and VBA. In c++ 1st i wrote some code and then compiled it and then run the application. I am not sure about VBA. i think debugging is kind of compiling. Right?
3rd Jul 2018, 2:37 AM
Goshgar Mikayilov
Goshgar Mikayilov - avatar
0
Debugging is a process of removing bugs from your software
3rd Jul 2018, 7:55 AM
TurtleShell
TurtleShell - avatar