Home  >  Article  >  Backend Development  >  What are the commonly used python interpreters?

What are the commonly used python interpreters?

青灯夜游
青灯夜游Original
2019-06-14 18:11:508277browse

What are the commonly used python interpreters?

Python is an interpreter language. To run the code, it must be executed through an interpreter. There are many interpreters for Python, which are developed based on different languages. Each interpreter has different Features, but can run Python code normally. The following are five commonly used Python interpreters:

CPython

When downloading and installing Python2 from the official Python website. After 7, I directly got an official version of the interpreter: Cpython. This interpreter was developed in C language, so it is called CPython. Running python under the named line is to start the 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 executes Python code The functions are exactly the same as CPython. For example, although many domestic browsers have different appearances, the kernel actually calls IE.

PyPy

PyPy is another Python interpreter. Its 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. It 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 the Microsoft .Net platform and can directly compile Python code into .Net Bytecode.

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

The above is the detailed content of What are the commonly used python interpreters?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn