1.python Foundation

Source: Internet
Author: User

One,the python interpreter

The Python compiler, capable of translating Python code into optimized C + + code.

1.Cpython

The official version of Python, implemented using the C language, is the most widely used, and the CPython implementation converts the source file (py file) into a bytecode file (PYc file) and then runs on the Python virtual machine.

2.Jython

Python Java implementation, Jython will dynamically compile Python code into Java bytecode, and then run on the JVM.

3.IronPython

In Python's C # implementation, IronPython compiles Python code into C # bytecode and then runs on the CLR. (similar to Jython)

4.PyPy

Python implements Python, which compiles Python bytecode bytecode into machine code. This editor can greatly speed up the Python program and may be the future of Python.

5.RubyPython, Brython ...

Python has a lot of interpreters, but the most widely used is cpython. If you want to interact with the Java or. NET platform, the best approach is not to use Jython or IronPython, but to interact via network tuning to ensure the independence of each program.

Second, python version

2.4 version ------------------------3.0 version

2.6 backwards compatible, transition version

2.7 compatible version

Python 2.0-2000/10/16, added a memory recovery mechanism that forms the basis of the Python language framework Now

Python 2.4–2004/11/30, the most popular web framework in the same year, Django is born

Python 2.5-2006/09/19

Python 2.6-2008/10/1

Python 2.7-2010/07/03

Python 3.0-2008/12/03

Python 3.1-2009/06/27

Python 3.2-2011/02/20

Python 3.3-2012/09/29

Python 3.4-2014/03/16

Python 3.5-2015/09/13

November 2014, Python2.7 will be released in 2020, and will not be released in the release of the 2.8 release, it is recommended that users as far as possible migration to 3.4+python initially released, there are some design flaws, such as the Unicode standard later than Python appears, As a result, Unicode support is not always complete, and ASCII encoding supports a limited number of characters. Example: Poor support for Chinese Python3 the earlier version of Python is a larger upgrade,Py3 in the design without considering backwards compatibility, so many earlier versions of python Program can no longer run on Py3. to take care of the earlier version, roll out the transition version 2.6 -- Basic use of Python 2.x syntax and libraries , taking into account the migration to Python 3.0, allowing the use of some of the Python 3.0 syntax and functions. the release of compatible version 2.7 has continued , A large number of Python3 features have been reversed to python2.7,2.7, which is much more advanced than 2.6, with a large number of features and libraries in 3, and has taken care of the original Python developer population.

1.python Foundation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.