【英语学习】【Python】Programming in Python 3 的目录
《Programming in Python 3: A Complete Introduction to the Python Language》所有版权归原书作者所有。
文章目录
- Chapter 1. Rapid Introduction to Procedural Programming 过程式程序设计快速入门
- Creating and Running Python Programs 创建并运行Python程序
- Python's "Beautiful Heart" Python的“美丽核心”
- Piece #1: Data Types 数据类型
- Piece #2: Object References 对象引用
- Piece #3: Collection Data Types 容器数据类型
- Piece #4: Logical Operations 逻辑操作
- Piece #5: Control Flow Statements 控制流语句
- Piece #6: Arithmetic Operators 算术操作
- Piece #7: Input/Output 输入/输出
- Piece #8: Creating and Calling Functions 创建并调用函数
- Examples 示例
- Summary 小结
- Exercises 练习
- Chapter 2. Data Types 数据类型
- Identifiers and Keywords 标识符与关键字
- Integral Types 整型类型
- Floating-Point Types 浮点类型
- Strings 字符串类型
- Comparing Strings 比较字符串
- Slicing and Striding Strings 切片与遍历字符串
- String Operators and Method 字符串的操作符与方法
- String Formatting with the str.format() Method 使用str.format()方法格式化字符串
- Character Encodings 字符编码
- Examples 示例
- Summary 小结
- Exercises 练习
- Chapter 3. Collection Data Types 容器数据类型
- Sequence Types 序列类型
- Set Types 集合类型
- Mapping Types 映射类型
- Iterating and Copying Collections 遍历与复制容器
- Examples 示例
- Summary 小结
- Exercises 练习
- Chapter 4. Control Structures and Functions 控制结构与函数
- Control Structures 控制结构
- Exception Handling 异常处理
- Custom Functions 自定义函数
- Names and Docstrings 命名与文档字符串
- Argument and Parameter Unpacking 实参与形参解封
- Accessing Variables in the Global Scope 访问全局范围变量
- Lambda Functions 匿名函数
- Assertions 断言
- Example: make_html_skeleton.py 示例
- Summary 小结
- Exercise 练习
- Chapter 5. Modules 模块
- Modules and Packages 模块与包
- Overview Python's Standard Library Python标准库概览
- String Handling 字符串处理
- Command-Line Programming 命令行程序设计
- Mathematics and Numbers 数学与数值处理
- Times and Dates 时间与日期
- Algorithms and Collection Data Types 算法与容器类型
- File Formats, Encodings, and Data Persistence 文件格式,编码,与数据持久化
- File, Directory, and Process Handling 文件,目录与进程处理
- Networking and Internet Programming 网络与Internet程序设计
- XML XML程序设计
- Other Modules 其他模块
- Summary 小结
- Exercise 练习
- Chapter 6. Object-Oriented Programming 面向对象程序设计
- The Object-Oriented Approach 面向对象方法
- Custom Classes 自定义类
- Attributes and Methods 属性与方法
- Inheritance and Polymorphism 继承与多态
- Using Properties to Control Attributes Access 使用Properties控制Attributes访问
- Creating Complete Fully Integrated Data Types 创建完整的全集成数据类型
- Custom Collection Classes 自定义容器类型
- Creating Classes That Aggregate Collections 创建聚合容器的类
- Creating Collection Classes Using Aggregation 使用聚合创建容器类
- Creating Collection Classes Using Inheritance 使用继承创建容器类
- Summary 小结
- Exercises 练习
- Chapter 8. Advanced Programming Techniques 高级编程技术
- Further Procedural Programming 更深的过程式编程
- Branching Using Dictionaries 使用字典进行分支
- Generator Expressions and Functions 生成器表达式与函数
- Dynamic Code Execution and Dynamic Imports 动态代码执行与动态导入
- Local and Recursive Functions 本地与递归函数
- Function and Method Decorators 函数与方法装饰器
- Function Annotations 函数标注
- Further Object-Oriented Programming 更深的面向对象编程
- Controlling Attribute Access 控制属性访问
- Functors 仿函数
- Context Managers 上下文管理器
- Descriptors 描述器(描述符)
- Class Decorators 类装饰器
- Abstract Base Classes 抽象基类
- Multiple Inheritance 多继承
- Metaclasses 元类
- Functional-Style Programming 函数式编程
- Example: Valid.py 示例
- Summary 小结
- Exercises 练习
- Chapter 9. Debugging, Testing, and Profiling
- Chapter 10. Processes and Threading 多进程与多线程
- Using the Multiprocessing Module 使用多进程模块
- Using the Threading Module 使用多线程模块
- Example: A Threaded Find Word Program 示例:一个多线程单词查找程序
- Example: A Threaded Find Duplicate Files Program 示例:一个多线程重复文件查找程序
- Summary 小结
- Exercises 练习
- Chapter 11. Networking 网络编程
- Chapter 12. Database Programming 数据库编程
- Chapter 13. Regular Expressions 正则表达式
- Python's Regular Expression Language Python的正则表达式语言
- Assertions and Flags 断言与标志
- The Regular Expression Module 正则表达式模块
- Summary 小结
- Exercises 练习
- Chapter 14. Introduction to Parsing 词法分析介绍
- BNF Syntax and Parsing Terminology BNF语法和分析术语
- Writing Handcrafted Parsers手工编写分析器
- Simple Key-Value Data Parsing 简单键-值数据分析
- Playlist Data Parsing Playlist数据分析
- Parsing the Blocks Domain-Specific Language 分析 Blocks Domain-Specific语言
- Pythonic Parsing with PyParsing 使用PyParsing进行很Python地分析
- A Quick Introduction to PyParsing PyParsing快速入门
- Simple Key-Value Data Parsing 简单键-值数据分析
- Playlist Data Parsing Playlist数据分析
- Parsing the Blocks Domain-Specific Language 分析 Blocks Domain-Specific语言
- Parsing First-Order Logic 分析一阶逻辑
- Lex/Yacc-Style Parsing with PLY 使用PLY进行Lex/Yacc风格分析
- Simple Key-Value Data Parsing 简单键-值数据分析
- Playlist Data Parsing Playlist数据分析
- Parsing the Blocks Domain-Specific Language 分析Blocks Domain-Specific语言
- Parsing First-Order Logic 分析一阶逻辑
- Summary 小结
- Exercise 练习
- Chapter 15. Introduction to GUI Programming 图形编程入门