How Python Works?
Byte Code – Byte Code represents the fixed set of instruction created by Python developers representing all type of operations like arithmetic operations, comparison operation, memory related operation etc.
The size of each byte code instruction is 1 byte or 8 bits.
We can find byte code instruction in the .pyc file.
Python Compiler – A Python Compiler converts the program source code into byte code.
Type of Python Compilers :-
CPython
Jpython/ Jython
PyPy
RubyPython
IronPython
StacklessPython
Pythonxy
AnacondaPython
Write Source Code / Program
Compile the Program using Python Compiler
Compiler Converts the Python Program into byte Code
Computer/Machine Can not understand Byte Code so we convert it into Machine Code using PVM
PVM uses an interpreter which understands the byte code and convert it into machine code
Machine Code instructions are then executed by the processor and results are displayed





I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND