Python language is a compiled language or an interpreted language?
We all know the programming language from the program execution sub-divided into compiled languages and interpreted languages
Python is an interpreted language
Python need to compile the source program, the program can be run directly from the source code. Python interpreter converts the source code into byte code, and then forwards the compiled bytecode to Python virtual machine (the PVM) for execution.
FIG explained below with reference a process:
When we run Python files, Python interpreter will perform two steps:
-
The source code is compiled into bytecode (.pyc files saved in)
-
Forwards compiled bytecode to be executed in PVM
Thus, the execution of Python programs to clear
So, Python is an interpreted language typical of