书籍目录
Whetting Your Appetite 开胃菜
Using the Python Interpreter 使用Python解释器
Invoking the Interpreter 调用解释器
The Interpreter and Its Environment 解释器及其环境
More Control Flow Tools 深入流程控制
if Statements
for Statements for 语句
The range() Function range()函数
break and continue Statements, and else Clauses on Loops break 和 continue 语句, 以及 循环中的 else 子句
pass Statements pass 语句
Defining Functions 定义函数
More on Defining Functions 深入函数定义
Data Structures 数据结构
More on Lists 深入链表
The del statement del语句
Tuples and Sequences 元组和序列
Sets 集合
Dictionaries 字典
Looping Techniques 循环技术
More on Conditions 深入条件控制
Comparing Sequences and Other Types 不同序列类型的比较
Modules 模块
More on Modules 深入模块
Standard Modules 标准模块
The dir() Function dir() 函数
Packages 包
Input and Output 输入和输出
Fancier Output Formatting 设计输出格式
Reading and Writing Files 读写文件
Errors and Exceptions 错误和异常
Syntax Errors 语法错误
Exceptions 异常
Handling Exceptions 处理异常
Raising Exceptions 抛出异常
User-defined Exceptions 用户自定义异常
Defining Clean-up Actions 定义清理行为
Predefined Clean-up Actions 预定义清理行为
Classes
A Word About Terminology 术语漫谈
Python Scopes and Name Spaces 作用域和命名空间
A First Look at Classes 初识类
Random Remarks 一些说明
Inheritance 继承
Private Variables 私有变量
Odds and Ends 补充
Exceptions Are Classes Too 异常也是类
Iterators 迭代器
Generators 生成器
Generator Expressions 生成器表达式
Brief Tour of the Standard Library 标准库概览
Operating System Interface 操作系统接口
File Wildcards 文件通配符
Command Line Arguments 命令行参数
Error Output Redirection and Program Termination 错误输出重定向和程序终止
String Pattern Matching 字符串正则匹配
Mathematics 数学
Internet Access 互联网访问
Dates and Times 日期和时间
Data Compression 数据压缩
Performance Measurement 性能度量
Quality Control 质量控制
Batteries Included
Brief Tour of the Standard Library -- Part II 标准库概览
Output Formatting 格式化输出
Templating 模版
Working with Binary Data Record Layouts 使用二进制记录层
Multi-threading 多线程
Logging 日志
Weak References 弱引用
Tools for Working with Lists 链表工具
Decimal Floating Point Arithmetic 十进制浮点数算法
What Now?
Interactive Input Editing and History Substitution
Line Editing
History Substitution
Key Bindings
Commentary
Floating Point Arithmetic: Issues and Limitations
Representation Error
History and License
History of the software
Terms and conditions for accessing or otherwise using Python
Licenses and Acknowledgements for Incorporated Software
Glossary
Index
没有回复内容