Learning Python (5th Edition, Chinese Translation)
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已有其他语言基础、想系统吃透 Python 语言机制的开发者
- 愿意投入较多时间、希望打牢语法与对象模型基础的自学者
- 计算机专业学生,作为编程语言课程的配套阅读与练习来源
- 需要一本可长期查阅的 Python 语法与语言特性参考书的从业者
Not a good fit for
- 希望两三天速成、马上用 Python 做项目或求职的零基础读者
- 只想学数据分析、爬虫、Web 开发等应用方向、不在意语言细节的人
- 不适应长篇教材式行文、偏好案例驱动短篇教程的读者
Reading tips
- 先通读第一至第三部分,把对象类型与语句模型吃透,其余部分按需查阅或精读。
- 每章后的测验与练习务必动手在解释器里敲一遍,切忌只看不写。
- 阅读时用 Python 3 实操;遇到书中 Python 2 的差异说明可先略过,回头再对照理解。
- 把第四至第八部分当作案头参考,遇到作用域、装饰器、元类等疑点再回查对应章节。
About the publisher
In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.
Contents
- Volume 1 Preface
- Part I Getting Started
- Chapter 1 A Question-and-Answer Session
- Chapter 2 How Python Runs Programs
- Chapter 3 How You Run Programs
- Part II Types and Operations
- Chapter 4 Introducing Python Object Types
- Chapter 5 Numeric Types
- Chapter 6 The Dynamic Typing Interlude
- Chapter 7 String Fundamentals
- Chapter 8 Lists and Dictionaries
- Chapter 9 Tuples, Files, and Everything Else
- Part III Statements and Syntax
- Chapter 10 Introducing Python Statements
- Chapter 11 Assignments, Expressions, and Prints
- Chapter 12 if Tests and Syntax Rules
- Chapter 13 while and for Loops
- Chapter 14 Iterations and Comprehensions
- Chapter 15 The Documentation Interlude
- Part IV Functions and Generators
- Chapter 16 Function Basics
- Chapter 17 Scopes
- Chapter 18 Arguments
- Chapter 19 Advanced Function Topics
- Chapter 20 Comprehensions and Generations
- Chapter 21 The Benchmarking Interlude
- Volume 2 Part V Modules and Packages
- Chapter 22 Modules: The Big Picture
- Chapter 23 Module Coding Basics
- Chapter 24 Module Packages
- Chapter 25 Advanced Module Topics
- Part VI Classes and Object-Oriented Programming
- Chapter 26 OOP: The Big Picture
- Chapter 27 Class Coding Basics
- Chapter 28 A More Realistic Example
- Chapter 29 Class Coding Details
- Chapter 30 Operator Overloading
- Chapter 31 Designing with Classes
- Chapter 32 Advanced Class Topics
- Part VII Exceptions and Tools
FAQ
这本书适合零基础学 Python 吗?
第 5 版讲的是 Python 2 还是 Python 3?
这本书和《Python 编程》《流畅的 Python》有什么区别?
内容这么厚,一定要从头读到尾吗?
书中的示例代码还能在现在的 Python 上跑吗?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.