1. First, after we finish writing the python code, we need an interpreter to execute the python code. The most commonly used Python interpreter: CPython (ClassicPython, which is the original Python implementation. It is used when it needs to be different from other implementations. CPython name; or interpreted as Python implemented in C language). In fact, after we install python, the system already has a CPython. When we enter and execute python on the command line, the CPython interpreter has actually been started. Interactive programming: When we execute python on the command line.
2. After the above results appear, you can directly write python code and execute it. Enter print([Hello Python!])
The above is the detailed content of What is the Python interpreter_Introduction to the Python interpreter. For more information, please follow other related articles on the PHP Chinese website!