深入 Python 3
http://dipyzh.bitbucket.org/table-of-contents.html#xml
目录
<!-- toc -->- 《深入 Python 3》中有何新内容
- 安装 Python
- 第一份 Python 程序
- 内置数据类型
- 理解
- 字符串
- 正则表达式
- 闭合 与 生成器
- 类 & 迭代器
- 高级迭代器
- 单元测试
- 重构
- 文件
- XML
- Python 对象序列化
- HTTP Web 服务
- 案例研究:将
chardet
移植到 Python 3 - Python 类库打包
- 使用
2to3
将代码移植到 Python 3- 深入
-
print
语句 - Unicode 字符串文字
-
unicode()
全局函数 -
long
数据类型 - <> 比较
-
has_key()
字典方法 - 返回列表的字典方法
- 被重命名或重组的模块 reorganized
- 包内的相对 imports
-
next()
迭代器方法 -
filter()
全局函数 -
map()
全局函数 -
reduce()
全局函数 -
apply()
全局函数 -
intern()
全局函数 -
exec
语句 -
execfile
语句 -
repr
literals (backticks) -
try...except
语句 -
raise
语句 -
throw
method on generators -
xrange()
全局函数 -
raw_input()
和input()
全局函数 -
func_*
函数属性 -
xreadlines()
I/O 方法 -
lambda
函数接受元组而不是多参数 - 特别方法属性
-
__nonzero__
特别方法 - 八进制数字
-
sys.maxint
-
callable()
全局函数 -
zip()
全局函数 -
StandardError
例外 -
types
模块常量 -
isinstance()
全局函数 -
basestring
数据类型 -
itertools
模块 -
sys.exc_type
、sys.exc_value
、sys.exc_traceback
- List comprehensions over tuples
-
os.getcwdu()
函数 - 元类
- 风格问题
- 特殊方法名称
- 接下来阅读什么?