Differences between revisions 1 and 32 (spanning 31 versions)
Revision 1 as of 2004-08-09 23:30:02
Size: 2442
Editor: Zoom.Quiet
Comment:
Revision 32 as of 2007-12-10 03:50:39
Size: 2762
Editor: lwl
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
[http://www-900.ibm.com/developerWorks/cn/linux/theme/special/index.shtml#python 可爱的Python 系列文章]

的作者: '''
David Mertz
'''
是非常有名的Python 专家!

http://www-900.ibm.com/developerWorks/cn/i/p-mertz.gif

是那种相信 esse est denunte 的 Foucauldian Berkeley。可以通过 [email protected] 与 David 联系;
他的[http://gnosis.cx/publish/ 个人 Web 页面] 上介绍了他的生活。

他发表的新书:Text Processing in Python
[[TableOfContents]]
[[Include(ObpRelating)]]
||attachment:cover-small.jpg||[[Include(TPiPauthor)]]||
Line 18: Line 7:
 * 071013 迁移到工程环境:http://code.google.com/p/openbookproject
  * SVN:http://openbookproject.googlecode.com/svn/trunk/TPiPy/zh
  * 堪误: http://code.google.com/p/openbookproject/issues/list
   * `注意`使用 `[TPiP]`前缀
   * '''[http://openbookproject.googlecode.com/svn/trunk/TPiPy/README.txt README.txt 工程历史记要]'''
Line 19: Line 13:
[[TableOfContents]]
== FRONTMATTER -- PREFACE ==
-------------------------------------------------------------------
'''蟒之禅'''
{{{
[[Include(PythonZen)]]
= 资源/信息 =
 * TPiP中文翻译主页面就是本页。
   * http://wiki.woodpecker.org.cn/moin/TPiP/
   * 所有链接、变化请在本页更新,如果多个主页难免顾此失彼。
 * 所有讨论/问题提交请在标题使用`[TPiP]`前缀
 * 讨论请到[http://code.google.com/p/openbookproject/ openbookproject] OBP 的[http://groups.google.com/group/openbookproject OBP group] 讨论组。
 * 翻译和校对请到[wiki:TPiP/revision revision]认领。
 * 翻译使用[http://code.google.com/p/openbookproject/source svn]签入签出即可。
 * 校对请到[http://code.google.com/p/openbookproject/issues/list 这里]提交issue。
   * 注意使用`[TPiP]`标签
   * 最好能抄送译者以及其他校对人员,经讨论后由译者更新,这样避免冲突。
 * 查看[http://code.google.com/p/openbookproject/wiki/TechnoDict 技术翻译词典],英汉术语对照表
   * 更新先修改[http://openbookproject.googlecode.com/svn/trunk/TPiPy/zh/terms.txt terms.txt],使用svn
   * 再更改"[http://code.google.com/p/openbookproject/wiki/TechnoDict 技术翻译词典]"页面。
   * 这样可尽最大可能保持版本一致。
 * 提交格式
   * 原文自称"Smart ASCII"格式
   * 看完本书,理应轻松写脚本搞定。
    * SmartASCII2MoinMoin.py
    * SmartASCII2RST.py
Line 25: Line 35:
    Beautiful is better than ugly.
    Explicit is better than implicit.
    Simple is better than complex.
    Complex is better than complicated.
    Flat is better than nested.
    Sparse is better than dense.
    Readability counts.
    Special cases aren't special enough to break the rules.
    Although practicality beats purity.
    Errors should never pass silently.
    Unless explicitly silenced.
    In the face of ambiguity, refuse the temptation to guess.
    There should be one--and preferably only one--obvious way to do it.
    Although that way may not be obvious at first unless you're Dutch.
    Now is better than never.
    Although never is often better than *right* now.
    If the implementation is hard to explain, it's a bad idea.
    If the implementation is easy to explain, it may be a good idea.
    Namespaces are one honking great idea--let's do more of those!
      --Tim Peters, "The Zen of Python"
}}}
=== SECTION 1 -- What is Text Processing? ===
-------------------------------------------------------------------
[[Include(TPiP/revision)]]
= TPiP =
== acknowledgments ==
/AcKnowledgments FOLKS WHO HAVE MADE THIS BOOK BETTER
== intro ==
["/Intro"] INTRODUCTION
== chap1 ==
[:/Chap1:/Chap1] PYTHON BASICS

== chap2 ==
[:/Chap2:/Chap2] BASIC STRING OPERATIONS

== chap3 ==
[:/Chap3:/Chap3] REGULAR EXPRESSIONS

== chap4 ==
[:/Chap4:/Chap4] PARSERS AND STATE-MACHINES

== chap5 ==
[:/Chap5:/Chap5] INTERNET TOOLS AND TECHNIQUES

== appendix_a ==
["/AppendixA"] A SELECTIVE AND IMPRESSIONISTIC SHORT REVIEW OF PYTHON

== appendix_b ==
["/AppendixB"] A DATA COMPRESSION PRIMER

== appendix_c ==
["/AppendixC"] UNDERSTANDING UNICODE

== appendix_d ==
["/AppendixD"] A STATE-MACHINE FOR ADDING MARKUP TO TEXT

== glossary ==
["/glossary"] GLOSSARY TERMS
Line 50: Line 72:
=== SECTION 2 -- The Philosophy of Text Processing ===

-------------------------------------------------------------------

=== SECTION 3 -- What You'll Need to Use This Book ===
-------------------------------------------------------------------

=== SECTION 4 -- Conventions Used in This Book ===
-------------------------------------------------------------------

=== SECTION 5 -- A Word on Source Code Examples ===
-------------------------------------------------------------------

=== SECTION 6 -- External Resources ===
-------------------------------------------------------------------

== 反馈 ==
[[Include(/discuss)]]

TableOfContents Include(ObpRelating)

attachment:cover-small.jpg

Include(TPiPauthor)

等不及中文版了!自个儿来! -- Zoom.Quiet [DateTime(2004-08-09T23:30:02Z)]

Include(PythonZen)

资源/信息

Include(TPiP/revision)

TPiP

acknowledgments

/AcKnowledgments FOLKS WHO HAVE MADE THIS BOOK BETTER

intro

["/Intro"] INTRODUCTION

chap1

[:/Chap1:/Chap1] PYTHON BASICS

chap2

[:/Chap2:/Chap2] BASIC STRING OPERATIONS

chap3

[:/Chap3:/Chap3] REGULAR EXPRESSIONS

chap4

[:/Chap4:/Chap4] PARSERS AND STATE-MACHINES

chap5

[:/Chap5:/Chap5] INTERNET TOOLS AND TECHNIQUES

appendix_a

["/AppendixA"] A SELECTIVE AND IMPRESSIONISTIC SHORT REVIEW OF PYTHON

appendix_b

["/AppendixB"] A DATA COMPRESSION PRIMER

appendix_c

["/AppendixC"] UNDERSTANDING UNICODE

appendix_d

["/AppendixD"] A STATE-MACHINE FOR ADDING MARKUP TO TEXT

glossary

["/glossary"] GLOSSARY TERMS

反馈

Include(/discuss)

TPiP (last edited 2009-12-25 07:18:09 by localhost)