Skip to Content
流畅的Python
book

流畅的Python

by Luciano Ramalho
May 2017
Intermediate to advanced
628 pages
19h 29m
Chinese
Posts & Telecom Press

Overview

本书由奋战在Python开发一线近20年的Luciano Ramalho执笔,Victor Stinner、Alex Martelli等Python大咖担纲技术审稿人,从语言设计层面剖析编程细节,兼顾Python 3和Python 2,告诉你Python中不亲自动手实践就无法理解的语言陷阱成因和解决之道,教你写出风格地道的Python代码。

内容特色

  • Python数据模型:理解为什么特殊方法是对象行为一致的关键。
  • 数据结构:充分利用内置类型,理解Unicode文本和字节二象性。
  • 把函数视作对象:把Python函数视作一等对象,并了解这一点对流行的设计模式的影响。
  • 面向对象习惯用法:通过构建类学习引用、可变性、接口、运算符重载和多重继承。
  • 控制流程:学习使用上下文管理器、生成器、协程,以及通过concurrent.futures和asyncio包实现的并发。
  • 元编程:理解特性、描述符、类装饰器和元类的工作原理。
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python网络爬虫权威指南(第2版)

Python网络爬虫权威指南(第2版)

Ryan Mitchell
Python数据处理

Python数据处理

Jacqueline Kazil, Katharine Jarmul

Publisher Resources

ISBN: 9787115454157