开源中国社区
找到您想要的开源软件,分享和交流 Android客户端 iPhone客户端 开源软件 资讯
软件
当前位置:资讯首页 » 软件更新资讯 » Python

Python 2.7 正式版发布

3人收藏此新闻, 新闻投递 红薯 发布于: 2010年07月05日 (3评)

这是 Python 2.7 的第一个正式版本。这也是 Python 计划中 2.x 的最后的主要版本。

该版本包含很多 Python 3.1 中的新特性,主要的提升包括如下几个方面:

  • An ordered dictionary type
  • New unittest features including test skipping and new assert methods
  • A much faster io module
  • Automatic numbering of fields in the str.format() method
  • Float repr improvements backported from 3.x
  • Tile support for Tkinter
  • A backport of the memoryview object from 3.x
  • Set literals
  • Set and dictionary comprehensions
  • Dictionary views
  • New syntax for nested with statements
  • The sysconfig module

下载地址:

Python 的详细介绍:请点这里
Python 的下载地址:请点这里

相关资讯
相关讨论话题

回到顶部 发表评论 网友评论,共 3 条

  • 沈佳伊
    1楼:沈佳伊 发表于 2010-07-05 23:36 回复此评论
    Python 2.x 与 3.x 差距 有多大?

    前后不兼容 好麻烦……
  • Lunar_Lin
    2楼:Lunar_Lin 发表于 2012-02-22 16:17 回复此评论
    我都快被折磨死了...... 一定要装 2.7啊!
    装3.x的太蛋疼了. 手动给N多脚本改语法错误....
  • 非会员用户
    3楼:quite 发表于 2012-04-25 09:52 (非会员)
    下载了,解压了,怎么是个文件夹啊,怎么不是.exe啊
网名: (必填)
邮箱: (必填,不公开)
网址:

验证码: ... 换另外一个图
与内容无关的评论将被删除,严重者禁用帐号
回到顶部 回到评论列表
本周推荐 CodeMirror

CodeMirror 是一款“Online Source Editor”,基于Javascript,短小精悍,实时在线代码高亮显示,它不是某个富文本编辑器的附属产品,它是许多大名鼎鼎的在线代码编辑器的基础库。