Python for Programmers
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握一门编程语言、想系统补齐Python知识的开发者
- 把Python作为第二门语言学习的高校计算机相关专业学生
- 在教学中需要一本偏语言机制讲解的Python教材的教师
- 写过一些Python脚本、但对闭包、装饰器、协程等概念仍感模糊的程序员
Not a good fit for
- 完全没有编程经验、需要从零入门的读者
- 只想尽快上手某个框架或做数据分析应用的读者
- 期待大量项目实战案例和工程模板的读者
Reading tips
- 第1、2章可快速浏览,重点核对与已知语言不同的语法细节,如循环的else段、描述式、字典与函数参数的关系。
- 第3、4章建议边读边在解释器中验证书中的语义例子,尤其是变量与对象、闭包环境、特殊方法调用这几处。
- 第5章的模块导入、装饰器、描述器和协程可按需选读,读完后尝试改写自己项目中的对应代码加深理解。
- 把附录A的语言速查表和附录B的标准函数表当作日常参考,遇到语法疑问先查表再回到正文。
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- Chapter 1 Python Basics
- 1.1 Expressions and Calculations
- 1.2 Variables and Assignment
- 1.3 Logic and Control
- 1.4 Defining Functions
- 1.5 Several Issues in Function Definition
- 1.6 Summary and Addenda
- Chapter 2 Constructing and Organizing Data
- 2.1 Lists and Tuples
- 2.2 Sequences and Sequence Operations
- 2.3 Strings and Formatting
- 2.4 Files
- 2.5 Dictionaries (dict)
- 2.6 Sets (set and frozenset)
- 2.7 Programs and Data
- 2.8 Summary and Addenda
- Chapter 3 Understanding Python in Depth
- 3.1 Fundamental Semantic Issues
- 3.2 Semantic Implementation of Programs
- 3.3 Generator Functions and Closures
- 3.4 Exceptions and Exception Handling
- 3.5 Efficiency
- 3.6 Summary and Addenda
- Chapter 4 Object-Oriented Programming
- 4.1 Data Abstraction, Classes, and Custom Types
- 4.2 Classes and Objects in Python
- 4.3 Inheritance
- 4.4 Special Method Names and Special Classes
- 4.5 Example: Linked Lists
- 4.6 Summary and Addenda
- Chapter 5 Advanced Python Programming
- 5.1 Programs and Modules
- 5.2 Decorators
- 5.3 Advanced Object-Oriented Programming
- 5.4 Asynchronous Programs and Coroutines
- 5.5 Summary and Addenda
- Appendix A A Concise Handbook of the Python Language
- Appendix B Standard Functions
- Appendix C The IDLE Development Environment
- Appendix D Standard Library Packages Used in This Book
FAQ
这本书适合零基础自学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.