Python 2.7 official version Releases 2. x Series

Source: Internet
Author: User
Tags windows x86

After the official release of Python 2.7 RC2, the official version of Python 2.7 was finally available. This is also the Python Plan 2. the last important version of x, which contains many new features in Python 3.1. For more information, see the official Python documentation.

To better develop Python 3, many new features of Python 3.1 are included in this new version. Python 3.1 will also be the direction and focus of the development team in the future. Python 2.7 will be the version with the longest maintenance time in Python 2.x. During the transition to Python 3.x, Python 2.7 will also be retained. DeprecationWarning is ignored in Python 2.7, and DeprecationWarning is enabled by default in earlier versions.

The following are some important changes in Python 2.7:

◆ Python 2.7 has been greatly improved in data type processing, especially for float and decimal type.

◆ Python 2.7 supplemented the standard library, for example, enhanced the unittest module.

◆ Added an automatic number field in the str. format () method.

◆ Declarations are nested in some New syntaxes.

◆ Tile supports Tkinter

The release of Python 2.7 has already laid the groundwork for Python 3.1. According to the instructions in the official Python documentation, most of the functions in Python 2.6 will be included in Python 3.1, the following is a brief introduction to the main features of Python 3.1 that have been added to Python 2.7 ):

◆ The syntax {1, 2, 3} of the variable set is provided })

◆ Added the PyLong_AsLongAndOverflow () function.

◆ Added a memoryview object.

◆ Added the assert method.

Python 2.7:

Gzipped source tar ball (2.7): http://www.python.org/ftp/python/2.7/Python-2.7.tgz

Bzipped source tar ball (2.7): http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2

Windows x86 MSI Installer (2.7): http://www.python.org/ftp/python/2.7/python-2.7.msi

Windows X86-64 MSI Installer (2.7rc2): http://www.python.org/ftp/python/2.7/python-2.7rc2.amd64.msi

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.