Interpreter

CPython’s Virtual Machine

Code evaluator : ceval.c

The so-called Interpreter is just a huge loop.

$ python test.py

Python needs to turn test.py into something that can be executed, so what is that? That is bytecode.

The execution of Python is that there are multiple cases in a loop, which corresponds to different instructions.