Easy-to-use python interpreter zero-based learning python

Easy-to-use python interpreter zero-based learning python

Python is an interpreter language. If the code wants to run, it must be executed through the interpreter. There are multiple interpreters in Python, which are developed based on different languages. Each interpreter has different characteristics, but it can run Python code normally. The following are Five commonly used Python interpreters:

CPython

When you download and install Python 2.7 from the official Python website, you will directly get an official version of the interpreter: Cpython. This interpreter is developed in C language, so it is called CPython. Running python under the named line is to start CPython interpreter, CPython is the most widely used Python interpreter.

IPython

IPython is an interactive interpreter based on CPython, that is to say, IPython is only enhanced in interactive mode, but the function of executing Python code is exactly the same as that of CPython. For example, many domestic browsers have different appearances, but The kernel actually calls IE.

PyPy

PyPy is another Python interpreter whose goal is execution speed. PyPy uses JIT technology to dynamically compile Python code, so it can significantly improve the execution speed of Python code.

Jython

Jython is a Python interpreter running on the Java platform, which can directly compile Python code into Java bytecode for execution.

IronPython

IronPython is similar to Jython, except that IronPython is a Python interpreter running on Microsoft's .Net platform, which can directly compile Python code into .Net bytecode.

Among the Python interpreters, CPython is widely used. For Python compilation, in addition to the above interpreters, highly skilled developers can also write Python interpreters to execute Python code according to their own needs. convenience!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326033279&siteId=291194637