发布于 2015-07-09 01:33:12 | 333 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的Python教程,程序狗速度看过来!

Python编程语言

Python 是一种面向对象、解释型计算机程序设计语言,由Guido van Rossum于1989年底发明,第一个公开发行版发行于1991年。Python语法简洁而清晰,具有丰富和强大的类库。它常被昵称为胶水语言,它能够把用其他语言制作的各种模块(尤其是C/C++)很轻松地联结在一起。


Python 3.5b1 已经发布,Python 3.5 正式版已经不远啦!Python 3.5 相比 Python 3.4 详细改进请看 Misc/NEWS

Python 3.5 发布计划:

  • 3.5.0 alpha 1: February 8, 2015

  • 3.5.0 alpha 2: March 9, 2015

  • 3.5.0 alpha 3: March 29, 2015

  • 3.5.0 alpha 4: April 19, 2015

  • 3.5.0 beta 1: May 24, 2015

  • 3.5.0 beta 2: May 31, 2015

  • 3.5.0 beta 3: July 5, 2015

  • 3.5.0 beta 4: July 26, 2015

  • 3.5.0 candidate 1: August 9, 2015

  • 3.5.0 candidate 2: August 23, 2015

  • 3.5.0 candidate 3: September 6, 2015

  • 3.5.0 final: September 13, 2015

(Beta 1 已经是 "feature freeze" 状态,往后版本不会再添加新特性)

值得关注的新特性

新语法特性:

  • PEP 465 新矩阵乘法运算符: a @ b.

  • PEP 492 异步协同和 await 语法

新模块:

新内置特性:

  • bytes % args, bytearray % args: PEP 461 - Adding % formatting to bytes and bytearray

  • b'xf0x9fx90x8d'.hex(), bytearray(b'xf0x9fx90x8d').hex(),memoryview(b'xf0x9fx90x8d').hex(): issue 9951 - A hex method has been added to bytes, bytearray, and memoryview.

改进:

  • When the LC_TYPE locale is the POSIX locale (C locale),sys.stdin and sys.stdout are now using thesurrogateescape error handler, instead of the strict error handler (issue 19977).

  • PEP 488, the elimination of .pyo files.

  • PEP 489, multi-phase initialization of extension modules.

值得关注的库模块改进:

  • collections.OrderedDict 已经用 C 实现

  • 可以传递字节到 tempfile 模块的 API,然后返回字节的临时路径名而不是 str 的临时路径名

Python 3.5 详细改进说明请看这里

Python 是一种面向对象、解释型计算机程序设计语言,由Guido van Rossum于1989年底发明,第一个公开发行版发行于1991年。Python语法简洁而清晰,具有丰富和强大的类库。它常被昵称为胶水语言,它能够把用其他语言制作的各种模块(尤其是C/C++)很轻松地联结在一起。



历史版本 :
Python 3.7.0a4 发布,Python 3.7 alpha 最后一个版本
Python 3.6.4 发布,Python 3.6 的第四个维护版本
Python 3.7.0 a2 现已发布,可用于测试
Python 3.6.3 发布,Python 3.6 的第三个维护版本
Python 2.7.14 RC1 发布,Bug 修复版本
Python 3.5.4 和 3.4.7 发布,仅修复安全问题
Python 3.6.2 发布,3.6 系列第二个维护版本
Python 3.6.1 发布,3.6 系列首个维护版本
Python 3.6.1 RC1 发布
Python for .NET 2.2.2 发布,支持 Python 3.6
Python 3.5.3 发布,例行更新维护版本
Python 3.6.0 正式版发布
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务