python中文手册chm

392 KB/编程其他

简介 相关 评论

简介

python中文手册chm,内容丰富全面,不但是一本手册,你完全可以把她作为一本Python的入门教程,教你如何使用Python解释器、流程控制、数据结构、模板、输入和输出、错误和异常、类和标准库详解等方面的知识技巧。同时后附的手册可以方便你的查询。Hxn红软基地

python中文手册chmHxn红软基地

python中文手册chm目录

前言 Front Matter Hxn红软基地
Contents Hxn红软基地
1. 开胃菜 Whetting Your Appetite Hxn红软基地
2. 使用Python解释器 Using the Python Interpreter Hxn红软基地
2.1 调用解释器 Invoking the Interpreter Hxn红软基地
2.1.1 参数传递 Argument Passing Hxn红软基地
2.1.2 交互模式 Interactive Mode Hxn红软基地
2.2 解释器及其环境 The Interpreter and Its Environment Hxn红软基地
2.2.1 错误处理 Error Handling Hxn红软基地
2.2.2 执行Python脚本 Executable Python Scripts Hxn红软基地
2.2.3 源程序编码 Source Code Encoding Hxn红软基地
2.2.4 交互式环境的启动文件 The Interactive Startup File Hxn红软基地
3. Python简介 An Informal Introduction to Python Hxn红软基地
3.1 将Python当作计算器使用 Using Python as a Calculator Hxn红软基地
3.1.1 数值 Numbers Hxn红软基地
3.1.2 字符串 Strings Hxn红软基地
3.1.3 Unicode 字符串 Unicode Strings Hxn红软基地
3.1.4 链表 Lists Hxn红软基地
3.2 开始编程 First Steps Towards Programming Hxn红软基地
4. 深入流程控制 More Control Flow Tools Hxn红软基地
4.1 if 语句 if Statements Hxn红软基地
4.2 for 语句 for Statements Hxn红软基地
4.3 range() 函数 The range() Function Hxn红软基地
4.4 break 和 continue 语句, 以及 循环中的 else 子句 break and continue Statements, and else Clauses on Loops Hxn红软基地
4.5 pass 语句 pass Statements Hxn红软基地
4.6 Defining Functions Hxn红软基地
4.7 深入函数定义 More on Defining Functions Hxn红软基地
4.7.1 参数默认值 Default Argument Values Hxn红软基地
4.7.2 关键字参数 Keyword Arguments Hxn红软基地
4.7.3 可变参数表 Arbitrary Argument Lists Hxn红软基地
4.7.4 参数列表的分拆 Unpacking Argument Lists Hxn红软基地
4.7.5 Lambda 形式 Lambda Forms Hxn红软基地
4.7.6 文档字符串 Documentation Strings Hxn红软基地
5. 数据结构 Data Structures Hxn红软基地
5.1 深入链表 More on Lists Hxn红软基地
5.1.1 把链表当作堆栈使用 Using Lists as Stacks Hxn红软基地
5.1.2 把链表当作队列使用 Using Lists as Queues Hxn红软基地
5.1.3 函数化编程工具 Functional Programming Tools Hxn红软基地
5.1.4 链表推导式 List Comprehensions Hxn红软基地
5.2 del 语句 Hxn红软基地
5.3 元组(Tuples)和序列(Sequences )Tuples and Sequences Hxn红软基地
5.4 Dictionaries 字典 Hxn红软基地
5.5 循环技巧 Looping Techniques Hxn红软基地
5.6 深入条件控制 More on Conditions Hxn红软基地
5.7 比较序列和其它类型 Comparing Sequences and Other Types Hxn红软基地
6. 模块 Modules Hxn红软基地
6.1 深入模块 More on Modules Hxn红软基地
6.1.1 模块搜索路径 The Module Search Path Hxn红软基地
6.1.2 “编译”Python文件 ``Compiled'' Python files Hxn红软基地
6.2 标准模块 Standard Modules Hxn红软基地
6.3 dir() 函数 dir() Function Hxn红软基地
6.4 包 Packages Hxn红软基地
6.4.1 以 * 方式加载包 Importing * From a Package Hxn红软基地
6.4.2 内置包(Intra-package)参考 Intra-package References Hxn红软基地
6.4.3 多重路径中的包 Packages in Multiple Directories Hxn红软基地
7. 输入和输出 Input and Output Hxn红软基地
7.1 设计输出格式 Fancier Output Formatting Hxn红软基地
7.2 读写文件 Reading and Writing Files Hxn红软基地
7.2.1 文件对象(file object)的方法 Methods of File Objects Hxn红软基地
7.2.2 pickle 模块 pickle Module Hxn红软基地
8. 错误和异常 Errors and Exceptions Hxn红软基地
8.1 异常 Exceptions Hxn红软基地
8.2 处理异常 Handling Exceptions Hxn红软基地
8.3 抛出异常 Raising Exceptions Hxn红软基地
8.4 用户自定义异常 User-defined Exceptions Hxn红软基地
8.5 定义清理行为 Defining Clean-up Actions Hxn红软基地
9. 类 Classes Hxn红软基地
9.1 有关术语的话题 A Word About Terminology Hxn红软基地
9.2 Python 作用域和命名空间 Python Scopes and Name Spaces Hxn红软基地
9.3 初识类 A First Look at Classes Hxn红软基地
9.3.1 类定义语法 Class Definition Syntax Hxn红软基地
9.3.2 类对象 Class Objects Hxn红软基地
9.3.3 实例对象 Instance Objects Hxn红软基地
9.3.4 方法对象 Method Objects Hxn红软基地
9.4 一些说明 Random Remarks Hxn红软基地
9.5 继承 Inheritance Hxn红软基地
9.5.1 多继承 Multiple Inheritance Hxn红软基地
9.6 私有变量 Private Variables Hxn红软基地
9.7 补充 Odds and Ends Hxn红软基地
9.8 异常也是类 Exceptions Are Classes Too Hxn红软基地
9.9 迭代器 Iterators Hxn红软基地
9.10 生成器 Generators Hxn红软基地
10. 标准库概览 Brief Tour of the Standard Library Hxn红软基地
10.1 操作系统概览 Operating System Interface Hxn红软基地
10.2 文件通配符 File Wildcards Hxn红软基地
10.3 命令行参数 Command Line Arguments Hxn红软基地
10.4 错误输出重定向和程序终止 Error Output Redirection and Program Termination Hxn红软基地
10.5 字符串正则匹配 String Pattern Matching Hxn红软基地
10.6 数学 Mathematics Hxn红软基地
10.7 互联网访问 Internet Access Hxn红软基地
10.8 日期和时间 Dates and Times Hxn红软基地
10.9 数据压缩 Data Compression Hxn红软基地
10.10 性能度量 Performance Measurement Hxn红软基地
10.11 质量控制 Quality Control Hxn红软基地
10.12 Batteries Included Hxn红软基地
11. What Now? Hxn红软基地
A. Interactive Input Editing and History Substitution Hxn红软基地
A.1 Line Editing Hxn红软基地
A.2 History Substitution Hxn红软基地
A.3 Key Bindings Hxn红软基地
A.4 Commentary Hxn红软基地
B. Floating Point Arithmetic: Issues and Limitations Hxn红软基地
B.1 Representation Error Hxn红软基地
C. History and License Hxn红软基地
D. Glossary Hxn红软基地
About this document ...Hxn红软基地

展开

同类推荐

相关文章