First test python

I. interpreted language

1 using an interpreter code into machine language

2. Use the interpreter to run the language is also known as "interpreted language

3.Python is the most famous interpreted language

II. Implementation of the principles of the program

Hard disk: storage file does not have the file handler function.

Memory: The program needs to be run when the program file in the hard disk through the command interpreter interpreted into memory recognizable and sets 0 and 1. Memory is not directly the source code program is not stored, but through conversion of the interpreter.

cpu: equivalent to the computer's brain, the memory will be passed to the source code treated cpu, cpu by calculation, the results back to memory, so that the operation result code unfolded.

Three .Python execution interpreter

Python .py obtained in the form of source code stored in the hard disk, the computer may identify instructions 0 and 1 is explained by the Python interpreter becomes set and stored in memory process waits cpu, memory instructions transmitted by a set cpu, by cpu processing calculations, the results back to memory so that the code running results show up.

 

Guess you like

Origin www.cnblogs.com/CHENGXIANGPY/p/11105894.html