- 相关
- 目录
- 笔记
- 书签
- 0132269937
- Core Python Programming, Second Edition
- Table of Contents
- Part I: Core Python
- Chapter 1. Welcome to Python!
- Chapter 2. Getting Started
- Section 2.1. Program Output, the print Statement, and "Hello World!"
- Section 2.2. Program Input and the raw_input()Built-in Function
- Section 2.3. Comments
- Section 2.4. Operators
- Section 2.5. Variables and Assignment
- Section 2.6. Numbers
- Section 2.7. Strings
- Section 2.8. Lists and Tuples
- Section 2.9. Dictionaries
- Section 2.10. Code Blocks Use Indentation
- Section 2.11. if Statement
- Section 2.12. while Loop
- Section 2.13. for Loop and the range() Built-in Function
- Section 2.14. List Comprehensions
- Section 2.15. Files and the open() and file() Built-in Functions
- Section 2.16. Errors and Exceptions
- Section 2.17. Functions
- Section 2.18. Classes
- Section 2.19. Modules
- Section 2.20. Useful Functions
- Section 2.21. Exercises
- Chapter 3. Python Basics
- Chapter 4. Python Objects
- Section 4.1. Python Objects
- Section 4.2. Standard Types
- Section 4.3. Other Built-in Types
- Section 4.4. Internal Types
- Section 4.5. Standard Type Operators
- Section 4.6. Standard Type Built-in Functions
- Section 4.7. Type Factory Functions
- Section 4.8. Categorizing the Standard Types
- Section 4.9. Unsupported Types
- Section 4.10. Exercises
- Chapter 5. Numbers
- Chapter 6. Sequences: Strings, Lists, and Tuples
- Section 6.1. Sequences
- Section 6.2. Strings
- Section 6.3. Strings and Operators
- Section 6.4. String-Only Operators
- Section 6.5. Built-in Functions
- Section 6.6. String Built-in Methods
- Section 6.7. Special Features of Strings
- Section 6.8. Unicode
- Section 6.9. Related Modules
- Section 6.10. Summary of String Highlights
- Section 6.11. Lists
- Section 6.12. Operators
- Section 6.13. Built-in Functions
- Section 6.14. List Type Built-in Methods
- Section 6.15. Special Features of Lists
- Section 6.16. Tuples
- Section 6.17. Tuple Operators and Built-in Functions
- Section 6.18. Special Features of Tuples
- Section 6.19. Related Modules
- Section 6.20. *Copying Python Objects and Shallow and Deep Copies
- Section 6.21. Summary of Sequences
- Section 6.22. Exercises
- Chapter 7. Mapping and Set Types
- Section 7.1. Mapping Type: Dictionaries
- Section 7.2. Mapping Type Operators
- Section 7.3. Mapping Type Built-in and Factory Functions
- Section 7.4. Mapping Type Built-in Methods
- Section 7.5. Dictionary Keys
- Section 7.6. Set Types
- Section 7.7. Set Type Operators
- Section 7.8. Built-in Functions
- Section 7.9. Set Type Built-in Methods
- Section 7.10. Operator, Function/Method Summary Table for Set Types
- Section 7.11. Related Modules
- Section 7.12. Exercises
- Chapter 8. Conditionals and Loops
- Section 8.1. if Statement
- Section 8.2. else Statement
- Section 8.3. elif (aka else-if) Statement
- Section 8.4. Conditional Expressions (aka "the Ternary Operator")
- Section 8.5. while Statement
- Section 8.6. for Statement
- Section 8.7. break Statement
- Section 8.8. continue Statement
- Section 8.9. pass Statement
- Section 8.10. else Statement ... Take Two
- Section 8.11. Iterators and the iter() Function
- Section 8.12. List Comprehensions
- Section 8.13. Generator Expressions
- Section 8.14. Related Modules
- Section 8.15. Exercises
- Chapter 9. Files and Input/Output
- Section 9.1. File Objects
- Section 9.2. File Built-in Functions [open() and file()]
- Section 9.3. File Built-in Methods
- Section 9.4. File Built-in Attributes
- Section 9.5. Standard Files
- Section 9.6. Command-Line Arguments
- Section 9.7. File System
- Section 9.8. File Execution
- Section 9.9. Persistent Storage Modules
- Section 9.10. Related Modules
- Section 9.11. Exercises
- Chapter 10. Errors and Exceptions
- Section 10.1. What Are Exceptions?
- Section 10.2. Exceptions in Python
- Section 10.3. Detecting and Handling Exceptions
- Section 10.4. Context Management
- Section 10.5. *Exceptions as Strings
- Section 10.6. Raising Exceptions
- Section 10.7. Assertions
- Section 10.8. Standard Exceptions
- Section 10.9. *Creating Exceptions
- Section 10.10. Why Exceptions (Now)?
- Section 10.11. Why Exceptions at All?
- Section 10.12. Exceptions and the sys Module
- Section 10.13. Related Modules
- Section 10.14. Exercises
- Chapter 11. Functions and Functional Programming
- Section 11.1. What Are Functions?
- Section 11.2. Calling Functions
- Section 11.3. Creating Functions
- Section 11.4. Passing Functions
- Section 11.5. Formal Arguments
- Section 11.6. Variable-Length Arguments
- Section 11.7. Functional Programming
- Section 11.8. Variable Scope
- Section 11.9. *Recursion
- Section 11.10. Generators
- Section 11.11. Exercises
- Chapter 12. Modules
- Section 12.1. What Are Modules?
- Section 12.2. Modules and Files
- Section 12.3. Namespaces
- Section 12.4. Importing Modules
- Section 12.5. Features of Module Import
- Section 12.6. Module Built-in Functions
- Section 12.7. Packages
- Section 12.8. Other Features of Modules
- Section 12.9. Related Modules
- Section 12.10. Exercises
- Chapter 13. Object-Oriented Programming
- Section 13.1. Introduction
- Section 13.2. Object-Oriented Programming
- Section 13.3. Classes
- Section 13.4. Class Attributes
- Section 13.5. Instances
- Section 13.6. Instance Attributes
- Section 13.7. Binding and Method Invocation
- Section 13.8. Static Methods and Class Methods
- Section 13.9. Composition
- Section 13.10. Subclassing and Derivation
- Section 13.11. Inheritance
- Section 13.12. Built-in Functions for Classes, Instances, and Other Objects
- Section 13.13. Customizing Classes with Special Methods
- Section 13.14. Privacy
- Section 13.15. *Delegation
- Section 13.16. Advanced Features of New-Style Classes (Python 2.2+)
- Section 13.17. Related Modules and Documentation
- Section 13.18. Exercises
- Chapter 14. Execution Environment
- Section 14.1. Callable Objects
- Section 14.2. Code Objects
- Section 14.3. Executable Object Statements and Built-in Functions
- Section 14.4. Executing Other (Python) Programs
- Section 14.5. Executing Other (Non-Python) Programs
- Section 14.6. Restricted Execution
- Section 14.7. Terminating Execution
- Section 14.8. Miscellaneous Operating System Interface
- Section 14.9. Related Modules
- Section 14.10. Exercises
- Part II: Advanced Topics
- Chapter 15. Regular Expressions
- Chapter 16. Network Programming
- Chapter 17. Internet Client Programming
- Chapter 18. Multithreaded Programming
- Chapter 19. GUI Programming
- Chapter 20. Web Programming
- Section 20.1. Introduction
- Section 20.2. Web Surfing with Python: Creating Simple Web Clients
- Section 20.3. Advanced Web Clients
- Section 20.4. CGI: Helping Web Servers Process Client Data
- Section 20.5. Building CGI Applications
- Section 20.6. Using Unicode with CGI
- Section 20.7. Advanced CGI
- Section 20.8. Web (HTTP) Servers
- Section 20.9. Related Modules
- Section 20.10. Exercises
- Chapter 21. Database Programming
- Chapter 22. Extending Python
- Chapter 23. Miscellaneous
- Appendix A. Answers to Selected Exercises
- Appendix B. Reference Tables
- Python Keywords
- Python Standard Operators and Functions
- Numeric Type Operators and Functions
- Sequence Type Operators and Functions
- String Format Operator Conversion Symbols
- String Format Operator Directives
- String Type Built-in Methods
- List Type Built-in Methods
- Dictionary Type Built-in Methods
- Set Types Operators and Functions
- File Object Methods and Data Attriobutes
- Python Exceptions
- Special Methods for Classes
- Python Operator Summary
- Appendix 3. About the Author
- Index
暂无笔记
选择文本,点击鼠标右键菜单,添加笔记
暂无书签
在左侧文档中,点击鼠标右键,添加书签
Core Python Programming, Second Edition (2006)
格式:PDF
页数:1155
上传日期:2013-01-21 03:22:16
浏览次数:8
下载积分:900
加入阅读清单
0%