First page Back Continue Last page Overview Graphics

Internal Execution if Code

Every time a Python script is executed, byte code is created.

But only, if a Python program is imported as a module, the byte code will be stored in the corresponding .pyc file:

>>> import lernen

Python lernen!

>>>

The Byte Code will be executed by the PVM.

Machine

Code

Source

Code

Byte

Code

(for PVM)

Compiler

Interpreter