0% found this document useful (0 votes)
10 views1 page

Interpreted Programming

The document explains the process of executing a Python program, which involves a compilation process that converts source code into bytecode and an execution process that translates bytecode into machine code. It highlights the role of the Python Virtual Machine (PVM) in reading and converting bytecode line by line. The overall execution of Python programs is characterized as interpretation-based, involving these two key processes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views1 page

Interpreted Programming

The document explains the process of executing a Python program, which involves a compilation process that converts source code into bytecode and an execution process that translates bytecode into machine code. It highlights the role of the Python Virtual Machine (PVM) in reading and converting bytecode line by line. The overall execution of Python programs is characterized as interpretation-based, involving these two key processes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

===============================================

Interpreted Programming
===============================================
=>When we develop any python program, we must give some file name with an extension
.py (File Name.py).
=>When we execute python program, two process taken place internally
a) Compilation Process
b) Execution Process.
=>In COMPILATION PROCESS, The python Source Code submitted to Python
Interpreter( Compiler ) and It reads the source Code Line by Line, Check for errors
by verifying syntaxes and if no errors found then Python Interpreter ( Compiler)
Converts into Intermediate Code called BYTE CODE with an extension .pyc
(FileName.pyc). If erros found in source code then we get error displyed on the
console.
=>In EXECUTION PROCESS, The PVM reads the Python Intermediate Code(Byte Code) Line
by Line and Converted into Machine Understable Code (Executable or binary Code) and
It is read by OS and Processer and finally Gives Result.
=>Hence In Python Program execution, Compilation Process and Execution Process is
taking place Line by Line conversion and It is one of the Interpretation Based
Programming Language.
--------------------------------------------------------------------
Definition of PVM ( Python Virtual Machine )
--------------------------------------------------------------------
=>PVM is one program in Python Software and whose role is to read LINE by LINE of
Byte Code and Converted into Machine Understable Code (Executable or binary Code) .
-----------------------------------------------------------------------------------
------------------------------

You might also like