What is PVM | Python Working

Naved AliNaved Ali
1 min read

Python doesn’t convert its code into machine code, something that hardware understnad. It converts it into something colled byte code. So within Python, compilation happens, but it’s just not in a machine language. It is into bye code (.pyc or .pyo) and this byte code can’t be understood by the CPU. So we need an interpreter called the Python Virtual Machine PVM to execute the byte codes.

0
Subscribe to my newsletter

Read articles from Naved Ali directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Naved Ali
Naved Ali