UserPreferences

zhDiveIntoPython


深入Python 5.4 版本,中文翻译!

建议使用 zhDiveIntoPyTemplate 文章模板!

-- Zoom.Quiet [2004-08-19 21:52:55]

  1. Dive Into Python
    1. 章节索引
      1. Installing Python
      2. Your First Python Program
      3. Native Datatypes
      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
        1. Summary
    2. Wiki小工具

Dive Into Python

20 May 2004

Copyright © 2000, 2001, 2002, 2003, 2004 Mark Pilgrim

This book lives at http://diveintopython.org/. If you're reading it somewhere else, you may not have the latest version.

Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in Appendix G, GNU Free Documentation License.

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.

章节索引

Installing Python

Your First Python Program

Native Datatypes

The Power Of Introspection

Objects and Object-Orientation

Exceptions and File Handling

Regular Expressions

HTML Processing

XML Processing

Scripts and Streams

HTTP Web Services

SOAP Web Services

Unit Testing

Test-First Programming

Refactoring

Functional Programming

Dynamic functions

Performance Tuning

Summary

Wiki小工具

f=open("DinPy",'r')
s=f.read()
#print s
import re
def wikiName(matchobj):
    return " * [\"/%s\"] "%matchobj.group(0)[:-1]
    
key = re.compile(r"(^\w[.|0-9a-zA-Z]+?)\s",re.M)
r=re.sub(key,wikiName,s)
print r
open("DinPy.wiki",'w').write(r)