A few day ago, we introduced Python Cookbook, which covers many aspects of python language. It is really an awesome book for learner of all levels. Another tutorial book I should mention is Dive into python, this is a free book and can be download online.
Download Dive Into Python
- HTML
- Microsoft Word 97
- plain text
- HTML (single file)
- XML (DocBook)
- Build scripts (for translators)
The example programs in this book are free software; you can redistribute and/or modify them under the terms of the Python license as published by the Python Software Foundation. A copy of the license is included in Appendix H,Python license.
Table of Contents
- 1. Installing Python
- 1.1. Which Python is right for you?
- 1.2. Python on Windows
- 1.3. Python on Mac OS X
- 1.4. Python on Mac OS 9
- 1.5. Python on RedHat Linux
- 1.6. Python on Debian GNU/Linux
- 1.7. Python Installation from Source
- 1.8. The Interactive Shell
- 1.9. Summary
- 2. Your First Python Program
- 2.1. Diving in
- 2.2. Declaring Functions
- 2.2.1. How Python's Datatypes Compare to Other Programming Languages
- 2.3. Documenting Functions
- 2.4. Everything Is an Object
- 2.4.1. The Import Search Path
- 2.4.2. What's an Object?
- 2.5. Indenting Code
- 2.6. Testing Modules
- 3. Native Datatypes
- 3.1. Introducing Dictionaries
- 3.1.1. Defining Dictionaries
- 3.1.2. Modifying Dictionaries
- 3.1.3. Deleting Items From Dictionaries
- 3.2. Introducing Lists
- 3.2.1. Defining Lists
- 3.2.2. Adding Elements to Lists
- 3.2.3. Searching Lists
- 3.2.4. Deleting List Elements
- 3.2.5. Using List Operators
- 3.3. Introducing Tuples
- 3.4. Declaring variables
- 3.5. Formatting Strings
- 3.6. Mapping Lists
- 3.7. Joining Lists and Splitting Strings
- 3.8. Summary
- 3.1. Introducing Dictionaries
- 4. The Power Of Introspection
- 5. Objects and Object-Orientation
- 6. Exceptions and File Handling
- 7. Regular Expressions
- 8. HTML Processing
- 9. XML Processing
- 10. Scripts and Streams
- 11. HTTP Web Services
- 12. SOAP Web Services
- 13. Unit Testing
- 14. Test-First Programming
- 15. Refactoring
- 16. Functional Programming
- 17. Dynamic functions
- 18. Performance Tuning
- A. Further reading
- B. A 5-minute review
- C. Tips and tricks
- D. List of examples
- E. Revision history
- F. About the book
- G. GNU Free Documentation License
- G.0. Preamble
- G.1. Applicability and definitions
- G.2. Verbatim copying
- G.3. Copying in quantity
- G.4. Modifications
- G.5. Combining documents
- G.6. Collections of documents
- G.7. Aggregation with independent works
- G.8. Translation
- G.9. Termination
- G.10. Future revisions of this license
- G.11. How to use this License for your documents
- H. Python license
- H.A. History of the software
- H.B. Terms and conditions for accessing or otherwise using Python
- H.B.1. PSF license agreement
- H.B.2. BeOpen Python open source license agreement version 1
- H.B.3. CNRI open source GPL-compatible license agreement
- H.B.4. CWI permissions statement and disclaimer
Post a Comment