Python Basics:
Machine language:
Features: The computer can see the understanding of 0 and 1 to write programs
Advantages: The program runs fast
Cons: Low development efficiency
Assembly:
Features: Use some English tags instead of a string of binary numbers to write programs
Advantages: Better than the machine language, the operating system is heavily used in assembly language
For example, the scheduling code for a process, which is written by sinks
Cons: Low development efficiency
Advanced Language:
Features: Human readable (English) characters to write the program
Advantages: High Development efficiency
Cons: Must be translated to allow the computer to recognize, resulting in slow running speed
According to the way of translation divided into:
Compiled: Once translated, take the compiled results directly to the machine to run
C Language:
Compiler: GCC,GLIBC
Low development efficiency
High operating efficiency
Explanatory type
Python language:
Interpreter: Cpython
High development efficiency
Low operating efficiency
Summarize:
Operating efficiency from high to low
Development efficiency from low to high
Learning difficulty from difficult to easy
Python interpreter executes the python process
1. Start the Python interpreter (in memory)
2. Read the contents of the file test.py from the hard disk into memory (this step is the same as the text editor)
3. Perform step 2 reading into the memory code
To permanently save your code, you'll use the file
If the carefree debugging code is going to use an interactive approach
Basics of getting started with Python