What is PVM(Python Virtual Machine)? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is PVM(Python Virtual Machine)?

Please give a simple definition.

15th Oct 2018, 3:02 PM
Sagar Ambastha
Sagar Ambastha - avatar
2 Answers
+ 9
A python virtual machine is simply a program which provides a general programming environment -- a program which can be programmed. Java has an interpreter as well as avirtual machine, and Python has avirtual machine as well as an interpreter.
15th Oct 2018, 3:55 PM
Abhivarshini Maddala
Abhivarshini Maddala - avatar
+ 5
PVM is which help to execute the python programme. Interpreter, translates source code into some efficient intermediate representation (code) and immediately executes this. Virtual Machine, explicitly executes stored pre-compiled code built by a compiler which is part of the interpreter system. ... If we look at this as a whole, PVM is a last step of Python Interpreter.
15th Oct 2018, 3:56 PM
Maninder $ingh
Maninder $ingh - avatar