CPU

10100001 10111000 10011110 and so forth..

The Python language uses an interpreter, which is a program that both translates and executes the instructions in a high-level language program. As the interpreter reads each individual instruction in the program, it converts it to machine language instructions and then immediately executes them. This process repeats for every instruction in the program. This process is illustrated in Figure 1-20. Because interpreters combine translation and execution, they typically do not create separate machine language programs.

re 1-28 Executing a high-level program with an interpreter language program print "Hello Earthling"

and so forth.

language instruction

Was this article helpful?

0 0

Post a comment