Zero-based learning Python: Python five kinds Python interpreter share with your

Whether you are new to zero-based introductory Python Python Python or for a certain experience, here to share with you five timers Python, I hope there are partners that can use!

Zero-based learning Python: Python five kinds Python interpreter share with your

 

Python is an interpreted language, want to run the code must be executed by an interpreter, there are several Python interpreter, were developed based on different languages, each interpreter has different characteristics, but can the normal operation of Python code, the following is five commonly used Python interpreter:

CPython

When the official website to download and install Python good Python2.7, direct access to an official version of the interpreter: Cpython, the interpreter is written in C language development, so called CPython, run python named in the line, it is to start CPython interpreter, CPython is the most widely used Python interpreter.

IPython

IPython is based on an interactive interpreter over CPython, that is to say, just IPython has been enhanced in the interactive mode, but the execution of the functions and CPython Python code is exactly the same, like many domestic browser Although the appearance is different, but In fact, the kernel is called IE.

PyPy

PyPy another Python interpreter, which target speed is performed, using JIT PyPy technology, Python dynamically compiled code, it is possible to significantly improve the execution speed of the Python code.

Jython

Jython Python interpreter is running on the Java platform, Python code can be directly compiled into Java bytecode execution.

IronPython

IronPython and Jython similar, but IronPython Python interpreter is running on the Microsoft .Net platform, Python code can be directly translated into .Net byte code.

In the Python interpreter, extensive use is CPython, for the compilation of Python, in addition to using the above explanation is out-of compilation, highly skilled developers can write Python interpreter in accordance with their needs on their own to execute Python code, very convenience!

Guess you like

Origin www.cnblogs.com/cherry-tang/p/11091188.html