Size: 8343
Comment:
|
← Revision 37 as of 2009-12-25 07:09:07 ⇥
Size: 15934
Comment: converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
[[Include(ObpRelating)]] ''' 准备发起翻译OReilly.Python.in.a.Nutshell.2nd.Edition ''' ::-- ["nickcheng"] [[[DateTime(2007-01-18T10:04:23Z)]]] [[TableOfContents]] ''' 方式 ''' * ''' 有兴趣参与的朋友把自己的名字注在相关章节的后面,并标明计划完成的日期,以认领章节,防止重复劳动。 ''' * ''' 当章节认领者翻译完成,则译者删除原先的计划日期,改为注明“已完成”,则请网友们开始帮助审核修改定稿。 ''' * 欢迎志愿人员参加翻译,审核! * 翻译仅仅是为了学习目的,其它商业版权纠纷与此无关! |
''' 发起翻译[[http://www.oreilly.com/catalog/pythonian2/|OReilly.Python.in.a.Nutshell.2nd.Edition]] ''' -- [[nickcheng]] [<<DateTime(2007-01-18T10:04:23Z)>>] ||[[WoodpeckerProjs|啄木鸟项目::]]|| (!) '''[[PythonInANutshell|Python技术坚果手册2ed]]'''|| {o} '''[[OpenBookProject|OBP-开放图书规划]]'''|| <<TableOfContents>> ||<^><<MonthCalendar>><<BR>><<Include(CPUGnav)>><<BR>><<Include(/agree)>>''关联文章''[[PythonInANutshellZh|Python.in.a.Nutshell节译中文版本]] -- WeiZhong||<^50%>'''翻译进度'''<<Include(^PythonInANutshell/2007-.*,'简报',4,sort=descending,items=23,titlesonly)>>|| |
Line 16: | Line 15: |
''开始时间: [[DateTime(2007-01-18T10:10:41Z)]]'' |
''开始时间: <<DateTime(2007-01-18T10:10:41Z)>>'' 为了方便大家对照翻译, 找了一个电子版, 不过只有chm的:( * [[attachment:OReilly.Python.in.a.Nutshell.2nd.Edition.Jul.2006.chm]] |
Line 22: | Line 23: |
* ''["PythonInANutshell/Ch-1-1"]'' Section 1.1. The Python Language * ''["PythonInANutshell/Ch-1-2"]'' Section 1.2. The Python Standard Library and Extension Modules * ''["PythonInANutshell/Ch-1-3"]'' Section 1.3. Python Implementations * ''["PythonInANutshell/Ch-1-4"]'' Section 1.4. Python Development and Versions * ''["PythonInANutshell/Ch-1-5"]'' Section 1.5. Python Resources |
* ''[[PythonInANutshell/Ch-1]]'' Chapter 1. Introduction to Python * ''[[PythonInANutshell/Ch-1-1]]'' Section 1.1. The Python Language * ''[[PythonInANutshell/Ch-1-2]]'' Section 1.2. The Python Standard Library and Extension Modules * ''[[PythonInANutshell/Ch-1-3]]'' Section 1.3. Python Implementations * ''[[PythonInANutshell/Ch-1-4]]'' Section 1.4. Python Development and Versions * ''[[PythonInANutshell/Ch-1-5]]'' Section 1.5. Python Resources |
Line 28: | Line 30: |
Section 2.1. Installing Python from Source Code Section 2.2. Installing Python from Binaries Section 2.3. Installing Jython Section 2.4. Installing IronPython |
* ''[[PythonInANutshell/Ch-2]]'' Chapter 2. Installation * ''[[PythonInANutshell/Ch-2.1]]'' Section 2.1. Installing Python from Source Code * ''[[PythonInANutshell/Ch-2.2]]'' Section 2.2. Installing Python from Binaries * ''[[PythonInANutshell/Ch-2.3]]'' Section 2.3. Installing Jython * ''[[PythonInANutshell/Ch-2.4]]'' Section 2.4. Installing IronPython |
Line 33: | Line 36: |
Section 3.1. The python Program Section 3.2. Python Development Environments Section 3.3. Running Python Programs Section 3.4. The jython Interpreter Section 3.5. The IronPython Interpreter |
* ''[[PythonInANutshell/Ch-3]]'' Chapter 3. The Python Interpreter * ''[[PythonInANutshell/Ch-3.1]]'' Section 3.1. The python Program * ''[[PythonInANutshell/Ch-3.2]]'' Section 3.2. Python Development Environments * ''[[PythonInANutshell/Ch-3.3]]'' Section 3.3. Running Python Programs * ''[[PythonInANutshell/Ch-3.4]]'' Section 3.4. The jython Interpreter * ''[[PythonInANutshell/Ch-3.5]]'' Section 3.5. The IronPython Interpreter |
Line 40: | Line 44: |
Section 4.1. Lexical Structure Section 4.2. Data Types Section 4.3. Variables and Other References Section 4.4. Expressions and Operators Section 4.5. Numeric Operations Section 4.6. Sequence Operations Section 4.7. Set Operations Section 4.8. Dictionary Operations Section 4.9. The print Statement Section 4.10. Control Flow Statements Section 4.11. Functions |
* ''[[PythonInANutshell/Ch-4]]'' hapter 4. The Python Language * ''[[PythonInANutshell/Ch-4.1]]'' Section 4.1. Lexical Structure * ''[[PythonInANutshell/Ch-4.2]]'' Section 4.2. Data Types * ''[[PythonInANutshell/Ch-4.3]]'' Section 4.3. Variables and Other References * ''[[PythonInANutshell/Ch-4.4]]'' Section 4.4. Expressions and Operators * ''[[PythonInANutshell/Ch-4.5]]'' Section 4.5. Numeric Operations * ''[[PythonInANutshell/Ch-4.6]]'' Section 4.6. Sequence Operations * ''[[PythonInANutshell/Ch-4.7]]'' Section 4.7. Set Operations * ''[[PythonInANutshell/Ch-4.8]]'' Section 4.8. Dictionary Operations * ''[[PythonInANutshell/Ch-4.9]]'' Section 4.9. The print Statement * ''[[PythonInANutshell/Ch-4.10]]'' Section 4.10. Control Flow Statements * ''[[PythonInANutshell/Ch-4.11]]'' Section 4.11. Functions |
Line 52: | Line 57: |
Section 5.1. Classes and Instances Section 5.2. Special Methods Section 5.3. Decorators Section 5.4. Metaclasses |
* ''[[PythonInANutshell/Ch-5]]'' Chapter 5. Object-Oriented Python * ''[[PythonInANutshell/Ch-5.1]]'' Section 5.1. Classes and Instances * ''[[PythonInANutshell/Ch-5.2]]'' Section 5.2. Special Methods * ''[[PythonInANutshell/Ch-5.3]]'' Section 5.3. Decorators * ''[[PythonInANutshell/Ch-5.4]]'' Section 5.4. Metaclasses |
Line 57: | Line 63: |
Section 6.1. The try Statement Section 6.2. Exception Propagation Section 6.3. The raise Statement Section 6.4. Exception Objects Section 6.5. Custom Exception Classes Section 6.6. Error-Checking Strategies |
* ''[[PythonInANutshell/Ch-6]]'' Chapter 6. Exceptions * ''[[PythonInANutshell/Ch-6.1]]'' Section 6.1. The try Statement * ''[[PythonInANutshell/Ch-6.2]]'' Section 6.2. Exception Propagation * ''[[PythonInANutshell/Ch-6.3]]'' Section 6.3. The raise Statement * ''[[PythonInANutshell/Ch-6.4]]'' Section 6.4. Exception Objects * ''[[PythonInANutshell/Ch-6.5]]'' Section 6.5. Custom Exception Classes * ''[[PythonInANutshell/Ch-6.6]]'' Section 6.6. Error-Checking Strategies |
Line 64: | Line 71: |
Section 7.1. Module Objects Section 7.2. Module Loading Section 7.3. Packages Section 7.4. The Distribution Utilities (distutils) |
* ''[[PythonInANutshell/Ch-7]]'' Chapter 7. Modules * ''[[PythonInANutshell/Ch-7.1]]'' Section 7.1. Module Objects * ''[[PythonInANutshell/Ch-7.2]]'' Section 7.2. Module Loading * ''[[PythonInANutshell/Ch-7.3]]'' Section 7.3. Packages * ''[[PythonInANutshell/Ch-7.4]]'' Section 7.4. The Distribution Utilities (distutils) |
Line 69: | Line 77: |
Section 8.1. Built-in Types Section 8.2. Built-in Functions Section 8.3. The sys Module Section 8.4. The copy Module Section 8.5. The collections Module Section 8.6. The functional Module Section 8.7. The bisect Module Section 8.8. The heapq Module Section 8.9. The UserDict Module Section 8.10. The optparse Module Section 8.11. The itertools Module |
* ''[[PythonInANutshell/Ch-8]]'' Chapter 8. Core Built-ins * ''[[PythonInANutshell/Ch-8.1]]'' Section 8.1. Built-in Types * ''[[PythonInANutshell/Ch-8.2]]'' Section 8.2. Built-in Functions * ''[[PythonInANutshell/Ch-8.3]]'' Section 8.3. The sys Module * ''[[PythonInANutshell/Ch-8.4]]'' Section 8.4. The copy Module * ''[[PythonInANutshell/Ch-8.5]]'' Section 8.5. The collections Module * ''[[PythonInANutshell/Ch-8.6]]'' Section 8.6. The functional Module * ''[[PythonInANutshell/Ch-8.7]]'' Section 8.7. The bisect Module * ''[[PythonInANutshell/Ch-8.8]]'' Section 8.8. The heapq Module * ''[[PythonInANutshell/Ch-8.9]]'' Section 8.9. The UserDict Module * ''[[PythonInANutshell/Ch-8.10]]'' Section 8.10. The optparse Module * ''[[PythonInANutshell/Ch-8.11]]'' Section 8.11. The itertools Module |
Line 81: | Line 90: |
Section 9.1. Methods of String Objects Section 9.2. The string Module Section 9.3. String Formatting Section 9.4. The pprint Module Section 9.5. The repr Module Section 9.6. Unicode Section 9.7. Regular Expressions and the re Module |
* ''[[PythonInANutshell/Ch-9]]'' Chapter 9. Strings and Regular Expressions * ''[[PythonInANutshell/Ch-9.1]]'' Section 9.1. Methods of String Objects * ''[[PythonInANutshell/Ch-9.2]]'' Section 9.2. The string Module * ''[[PythonInANutshell/Ch-9.3]]'' Section 9.3. String Formatting * ''[[PythonInANutshell/Ch-9.4]]'' Section 9.4. The pprint Module * ''[[PythonInANutshell/Ch-9.5]]'' Section 9.5. The repr Module * ''[[PythonInANutshell/Ch-9.6]]'' Section 9.6. Unicode * ''[[PythonInANutshell/Ch-9.7]]'' Section 9.7. Regular Expressions and the re Module |
Line 90: | Line 100: |
Section 10.1. Other Chapters That Also Deal with Files Section 10.2. Organization of This Chapter Section 10.3. File Objects Section 10.4. Auxiliary Modules for File I/O Section 10.5. The StringIO and cStringIO Modules Section 10.6. Compressed Files Section 10.7. The os Module Section 10.8. Filesystem Operations Section 10.9. Text Input and Output Section 10.10. Richer-Text I/O Section 10.11. Interactive Command Sessions Section 10.12. Internationalization |
* ''[[PythonInANutshell/Ch-10]]'' Chapter 10. File and Text Operations * ''[[PythonInANutshell/Ch-10.1]]'' Section 10.1. Other Chapters That Also Deal with Files * ''[[PythonInANutshell/Ch-10.2]]'' Section 10.2. Organization of This Chapter * ''[[PythonInANutshell/Ch-10.3]]'' Section 10.3. File Objects * ''[[PythonInANutshell/Ch-10.4]]'' Section 10.4. Auxiliary Modules for File I/O * ''[[PythonInANutshell/Ch-10.5]]'' Section 10.5. The StringIO and cStringIO Modules * ''[[PythonInANutshell/Ch-10.6]]'' Section 10.6. Compressed Files * ''[[PythonInANutshell/Ch-10.7]]'' Section 10.7. The os Module * ''[[PythonInANutshell/Ch-10.8]]'' Section 10.8. Filesystem Operations * ''[[PythonInANutshell/Ch-10.9]]'' Section 10.9. Text Input and Output * ''[[PythonInANutshell/Ch-10.10]]'' Section 10.10. Richer-Text I/O * ''[[PythonInANutshell/Ch-10.11]]'' Section 10.11. Interactive Command Sessions * ''[[PythonInANutshell/Ch-10.12]]'' Section 10.12. Internationalization |
Line 103: | Line 114: |
Section 11.1. Serialization Section 11.2. DBM Modules Section 11.3. Berkeley DB Interfacing Section 11.4. The Python Database API (DBAPI) 2.0 |
* ''[[PythonInANutshell/Ch-11]]'' Chapter 11. Persistence and Databases * ''[[PythonInANutshell/Ch-11.1]]'' Section 11.1. Serialization * ''[[PythonInANutshell/Ch-11.2]]'' Section 11.2. DBM Modules * ''[[PythonInANutshell/Ch-11.3]]'' Section 11.3. Berkeley DB Interfacing * ''[[PythonInANutshell/Ch-11.4]]'' Section 11.4. The Python Database API (DBAPI) 2.0 |
Line 108: | Line 120: |
Section 12.1. The time Module Section 12.2. The datetime Module Section 12.3. The pytz Module Section 12.4. The dateutil Module Section 12.5. The sched Module Section 12.6. The calendar Module Section 12.7. The mx.DateTime Module |
* ''[[PythonInANutshell/Ch-12]]'' Chapter 12. Time Operations * ''[[PythonInANutshell/Ch-12.1]]'' Section 12.1. The time Module * ''[[PythonInANutshell/Ch-12.2]]'' Section 12.2. The datetime Module * ''[[PythonInANutshell/Ch-12.3]]'' Section 12.3. The pytz Module * ''[[PythonInANutshell/Ch-12.4]]'' Section 12.4. The dateutil Module * ''[[PythonInANutshell/Ch-12.5]]'' Section 12.5. The sched Module * ''[[PythonInANutshell/Ch-12.6]]'' Section 12.6. The calendar Module * ''[[PythonInANutshell/Ch-12.7]]'' Section 12.7. The mx.DateTime Module |
Line 116: | Line 129: |
Section 13.1. Dynamic Execution and the exec Statement Section 13.2. Internal Types Section 13.3. Garbage Collection Section 13.4. Termination Functions Section 13.5. Site and User Customization |
* ''[[PythonInANutshell/Ch-13]]'' Chapter 13. Controlling Execution * ''[[PythonInANutshell/Ch-13.1]]'' Section 13.1. Dynamic Execution and the exec Statement * ''[[PythonInANutshell/Ch-13.2]]'' Section 13.2. Internal Types * ''[[PythonInANutshell/Ch-13.3]]'' Section 13.3. Garbage Collection * ''[[PythonInANutshell/Ch-13.4]]'' Section 13.4. Termination Functions * ''[[PythonInANutshell/Ch-13.5]]'' Section 13.5. Site and User Customization |
Line 122: | Line 136: |
Section 14.1. Threads in Python Section 14.2. The thread Module Section 14.3. The Queue Module Section 14.4. The threading Module Section 14.5. Threaded Program Architecture Section 14.6. Process Environment Section 14.7. Running Other Programs Section 14.8. The mmap Module |
* ''[[PythonInANutshell/Ch-14]]'' Chapter 14. Threads and Processes * ''[[PythonInANutshell/Ch-14.1]]'' Section 14.1. Threads in Python * ''[[PythonInANutshell/Ch-14.2]]'' Section 14.2. The thread Module * ''[[PythonInANutshell/Ch-14.3]]'' Section 14.3. The Queue Module * ''[[PythonInANutshell/Ch-14.4]]'' Section 14.4. The threading Module * ''[[PythonInANutshell/Ch-14.5]]'' Section 14.5. Threaded Program Architecture * ''[[PythonInANutshell/Ch-14.6]]'' Section 14.6. Process Environment * ''[[PythonInANutshell/Ch-14.7]]'' Section 14.7. Running Other Programs * ''[[PythonInANutshell/Ch-14.8]]'' Section 14.8. The mmap Module |
Line 131: | Line 146: |
Section 15.1. The math and cmath Modules Section 15.2. The operator Module Section 15.3. Random and Pseudorandom Numbers Section 15.4. The decimal Module Section 15.5. The gmpy Module |
* ''[[PythonInANutshell/Ch-15]]'' Chapter 15. Numeric Processing * ''[[PythonInANutshell/Ch-15.1]]'' Section 15.1. The math and cmath Modules * ''[[PythonInANutshell/Ch-15.2]]'' Section 15.2. The operator Module * ''[[PythonInANutshell/Ch-15.3]]'' Section 15.3. Random and Pseudorandom Numbers * ''[[PythonInANutshell/Ch-15.4]]'' Section 15.4. The decimal Module * ''[[PythonInANutshell/Ch-15.5]]'' Section 15.5. The gmpy Module |
Line 137: | Line 153: |
Section 16.1. The array Module Section 16.2. Extensions for Numeric Array Computation Section 16.3. The Numeric Package Section 16.4. Array Objects Section 16.5. Universal Functions (ufuncs) Section 16.6. Auxiliary Numeric Modules |
* ''[[PythonInANutshell/Ch-16]]'' Chapter 16. Array Processing * ''[[PythonInANutshell/Ch-16.1]]'' Section 16.1. The array Module * ''[[PythonInANutshell/Ch-16.2]]'' Section 16.2. Extensions for Numeric Array Computation * ''[[PythonInANutshell/Ch-16.3]]'' Section 16.3. The Numeric Package * ''[[PythonInANutshell/Ch-16.4]]'' Section 16.4. Array Objects * ''[[PythonInANutshell/Ch-16.5]]'' Section 16.5. Universal Functions (ufuncs) * ''[[PythonInANutshell/Ch-16.6]]'' Section 16.6. Auxiliary Numeric Modules |
Line 144: | Line 161: |
Section 17.1. Tkinter Fundamentals Section 17.2. Widget Fundamentals Section 17.3. Commonly Used Simple Widgets Section 17.4. Container Widgets Section 17.5. Menus Section 17.6. The Text Widget Section 17.7. The Canvas Widget Section 17.8. Layout Management Section 17.9. Tkinter Events |
* ''[[PythonInANutshell/Ch-17]]'' Chapter 17. Tkinter GUIs * ''[[PythonInANutshell/Ch-17.1]]'' Section 17.1. Tkinter Fundamentals * ''[[PythonInANutshell/Ch-17.2]]'' Section 17.2. Widget Fundamentals * ''[[PythonInANutshell/Ch-17.3]]'' Section 17.3. Commonly Used Simple Widgets * ''[[PythonInANutshell/Ch-17.4]]'' Section 17.4. Container Widgets * ''[[PythonInANutshell/Ch-17.5]]'' Section 17.5. Menus * ''[[PythonInANutshell/Ch-17.6]]'' Section 17.6. The Text Widget * ''[[PythonInANutshell/Ch-17.7]]'' Section 17.7. The Canvas Widget * ''[[PythonInANutshell/Ch-17.8]]'' Section 17.8. Layout Management * ''[[PythonInANutshell/Ch-17.9]]'' Section 17.9. Tkinter Events |
Line 154: | Line 172: |
Section 18.1. Testing Section 18.2. Debugging Section 18.3. The warnings Module Section 18.4. Optimization |
* ''[[PythonInANutshell/Ch-18]]'' Chapter 18. Testing, Debugging, and Optimizing * ''[[PythonInANutshell/Ch-18.1]]'' Section 18.1. Testing * ''[[PythonInANutshell/Ch-18.2]]'' Section 18.2. Debugging * ''[[PythonInANutshell/Ch-18.3]]'' Section 18.3. The warnings Module * ''[[PythonInANutshell/Ch-18.4]]'' Section 18.4. Optimization |
Line 160: | Line 179: |
Section 19.1. URL Access Section 19.2. Email Protocols Section 19.3. The HTTP and FTP Protocols Section 19.4. Network News Section 19.5. Telnet Section 19.6. Distributed Computing Section 19.7. Other Protocols |
* ''[[PythonInANutshell/Ch-19]]'' Chapter 19. Client-Side Network Protocol Modules * ''[[PythonInANutshell/Ch-19.1]]'' Section 19.1. URL Access * ''[[PythonInANutshell/Ch-19.2]]'' Section 19.2. Email Protocols * ''[[PythonInANutshell/Ch-19.3]]'' Section 19.3. The HTTP and FTP Protocols * ''[[PythonInANutshell/Ch-19.4]]'' Section 19.4. Network News * ''[[PythonInANutshell/Ch-19.5]]'' Section 19.5. Telnet * ''[[PythonInANutshell/Ch-19.6]]'' Section 19.6. Distributed Computing * ''[[PythonInANutshell/Ch-19.7]]'' Section 19.7. Other Protocols |
Line 168: | Line 188: |
Section 20.1. The socket Module Section 20.2. The SocketServer Module Section 20.3. Event-Driven Socket Programs |
* ''[[PythonInANutshell/Ch-20]]'' 20 章. 套接字和服务器端网络协议模块 -- [[Roka]](Jia Lu) '''"已完成"''' * ''[[PythonInANutshell/Ch-20.1]]'' 20.1. 套接字(Socket)模块 * ''[[PythonInANutshell/Ch-20.2]]'' 20.2. 套接字服务器(SocketServer)模块 * ''[[PythonInANutshell/Ch-20.3]]'' 20.3. 事件驱动型套接字程序 |
Line 172: | Line 193: |
Section 21.1. CGI in Python Section 21.2. Cookies Section 21.3. Other Server-Side Approaches |
* ''[[PythonInANutshell/Ch-21]]'' Chapter 21. CGI Scripting and Alternatives * ''[[PythonInANutshell/Ch-21.1]]'' Section 21.1. CGI in Python * ''[[PythonInANutshell/Ch-21.2]]'' Section 21.2. Cookies * ''[[PythonInANutshell/Ch-21.3]]'' Section 21.3. Other Server-Side Approaches |
Line 176: | Line 198: |
Section 22.1. Encoding Binary Data as Text Section 22.2. MIME and Email Format Handling |
* ''[[PythonInANutshell/Ch-22]]'' Chapter 22. MIME and Network Encodings * ''[[PythonInANutshell/Ch-22.1]]'' Section 22.1. Encoding Binary Data as Text * ''[[PythonInANutshell/Ch-22.2]]'' Section 22.2. MIME and Email Format Handling |
Line 179: | Line 202: |
Section 23.1. The sgmllib Module Section 23.2. The htmllib Module Section 23.3. The HTMLParser Module Section 23.4. The BeautifulSoup Extension Section 23.5. Generating HTML |
* ''[[PythonInANutshell/Ch-23]]'' Chapter 23. Structured Text: HTML * ''[[PythonInANutshell/Ch-23.1]]'' Section 23.1. The sgmllib Module * ''[[PythonInANutshell/Ch-23.2]]'' Section 23.2. The htmllib Module * ''[[PythonInANutshell/Ch-23.3]]'' Section 23.3. The HTMLParser Module * ''[[PythonInANutshell/Ch-23.4]]'' Section 23.4. The BeautifulSoup Extension * ''[[PythonInANutshell/Ch-23.5]]'' Section 23.5. Generating HTML |
Line 185: | Line 209: |
Section 24.1. An Overview of XML Parsing Section 24.2. Parsing XML with SAX Section 24.3. Parsing XML with DOM Section 24.4. Changing and Generating XML |
* ''[[PythonInANutshell/Ch-24]]'' Chapter 24. Structured Text: XML * ''[[PythonInANutshell/Ch-24.1]]'' Section 24.1. An Overview of XML Parsing * ''[[PythonInANutshell/Ch-24.2]]'' Section 24.2. Parsing XML with SAX * ''[[PythonInANutshell/Ch-24.3]]'' Section 24.3. Parsing XML with DOM * ''[[PythonInANutshell/Ch-24.4]]'' Section 24.4. Changing and Generating XML |
Line 191: | Line 216: |
Section 25.1. Extending Python with Python's C API Section 25.2. Extending Python Without Python's C API Section 25.3. Embedding Python Section 25.4. Pyrex |
* ''[[PythonInANutshell/Ch-25]]'' Chapter 25. Extending and Embedding Classic Python * ''[[PythonInANutshell/Ch-25.1]]'' Section 25.1. Extending Python with Python's C API * ''[[PythonInANutshell/Ch-25.2]]'' Section 25.2. Extending Python Without Python's C API * ''[[PythonInANutshell/Ch-25.3]]'' Section 25.3. Embedding Python * ''[[PythonInANutshell/Ch-25.4]]'' 25章.4节 Pyrex -- ZoomQuiet |
Line 196: | Line 222: |
Section 26.1. Importing Java Packages in Jython Section 26.2. Embedding Jython in Java Section 26.3. Compiling Python into Java |
* ''[[PythonInANutshell/Ch-26]]'' Chapter 26. Extending and Embedding Jython * ''[[PythonInANutshell/Ch-26.1]]'' Section 26.1. Importing Java Packages in Jython * ''[[PythonInANutshell/Ch-26.2]]'' Section 26.2. Embedding Jython in Java * ''[[PythonInANutshell/Ch-26.3]]'' Section 26.3. Compiling Python into Java |
Line 200: | Line 227: |
Section 27.1. Python's distutils Section 27.2. py2exe Section 27.3. py2app Section 27.4. cx_Freeze Section 27.5. PyInstaller |
* ''[[PythonInANutshell/Ch-27]]'' Chapter 27. Distributing Extensions and Programs * ''[[PythonInANutshell/Ch-27.1]]'' Section 27.1. Python's distutils * ''[[PythonInANutshell/Ch-27.2]]'' Section 27.2. py2exe * ''[[PythonInANutshell/Ch-27.3]]'' Section 27.3. py2app * ''[[PythonInANutshell/Ch-27.4]]'' Section 27.4. cx_Freeze * ''[[PythonInANutshell/Ch-27.5]]'' Section 27.5. PyInstaller |
Line 207: | Line 235: |
= 交流 = |
发起翻译OReilly.Python.in.a.Nutshell.2nd.Edition -- nickcheng [2007-01-18 10:04:23]
Contents
-
Python 技术手册 第二版(Python.in.a.Nutshell.2nd.Edition)
- Copyright
- Preface
- Part I: Getting Started with Python
- Part II: Core Python Language and Built-ins
-
Part III: Python Library and Extension Modules
- Chapter 10. File and Text Operations
- Chapter 11. Persistence and Databases
- Chapter 12. Time Operations
- Chapter 13. Controlling Execution
- Chapter 14. Threads and Processes
- Chapter 15. Numeric Processing
- Chapter 16. Array Processing
- Chapter 17. Tkinter GUIs
- Chapter 18. Testing, Debugging, and Optimizing
- Part IV: Network and Web Programming
- Part V: Extending and Embedding
- About the Author
- Colophon
- 交流
{{{欢迎志愿人员参加翻译/审核/宣传... 翻译仅仅为了学习, 商业版权与此无关! }}} |
翻译进度 |
1. Python 技术手册 第二版(Python.in.a.Nutshell.2nd.Edition)
开始时间: 2007-01-18 10:10:41
为了方便大家对照翻译, 找了一个电子版, 不过只有chm的:(
1.1. Copyright
1.2. Preface
1.3. Part I: Getting Started with Python
1.3.1. Chapter 1. Introduction to Python
PythonInANutshell/Ch-1 Chapter 1. Introduction to Python
PythonInANutshell/Ch-1-1 Section 1.1. The Python Language
PythonInANutshell/Ch-1-2 Section 1.2. The Python Standard Library and Extension Modules
PythonInANutshell/Ch-1-3 Section 1.3. Python Implementations
PythonInANutshell/Ch-1-4 Section 1.4. Python Development and Versions
PythonInANutshell/Ch-1-5 Section 1.5. Python Resources
1.3.2. Chapter 2. Installation
PythonInANutshell/Ch-2 Chapter 2. Installation
PythonInANutshell/Ch-2.1 Section 2.1. Installing Python from Source Code
PythonInANutshell/Ch-2.2 Section 2.2. Installing Python from Binaries
PythonInANutshell/Ch-2.3 Section 2.3. Installing Jython
PythonInANutshell/Ch-2.4 Section 2.4. Installing IronPython
1.3.3. Chapter 3. The Python Interpreter
PythonInANutshell/Ch-3 Chapter 3. The Python Interpreter
PythonInANutshell/Ch-3.1 Section 3.1. The python Program
PythonInANutshell/Ch-3.2 Section 3.2. Python Development Environments
PythonInANutshell/Ch-3.3 Section 3.3. Running Python Programs
PythonInANutshell/Ch-3.4 Section 3.4. The jython Interpreter
PythonInANutshell/Ch-3.5 Section 3.5. The IronPython Interpreter
1.4. Part II: Core Python Language and Built-ins
1.4.1. Chapter 4. The Python Language
PythonInANutshell/Ch-4 hapter 4. The Python Language
PythonInANutshell/Ch-4.1 Section 4.1. Lexical Structure
PythonInANutshell/Ch-4.2 Section 4.2. Data Types
PythonInANutshell/Ch-4.3 Section 4.3. Variables and Other References
PythonInANutshell/Ch-4.4 Section 4.4. Expressions and Operators
PythonInANutshell/Ch-4.5 Section 4.5. Numeric Operations
PythonInANutshell/Ch-4.6 Section 4.6. Sequence Operations
PythonInANutshell/Ch-4.7 Section 4.7. Set Operations
PythonInANutshell/Ch-4.8 Section 4.8. Dictionary Operations
PythonInANutshell/Ch-4.9 Section 4.9. The print Statement
PythonInANutshell/Ch-4.10 Section 4.10. Control Flow Statements
PythonInANutshell/Ch-4.11 Section 4.11. Functions
1.4.2. Chapter 5. Object-Oriented Python
PythonInANutshell/Ch-5 Chapter 5. Object-Oriented Python
PythonInANutshell/Ch-5.1 Section 5.1. Classes and Instances
PythonInANutshell/Ch-5.2 Section 5.2. Special Methods
PythonInANutshell/Ch-5.3 Section 5.3. Decorators
PythonInANutshell/Ch-5.4 Section 5.4. Metaclasses
1.4.3. Chapter 6. Exceptions
PythonInANutshell/Ch-6 Chapter 6. Exceptions
PythonInANutshell/Ch-6.1 Section 6.1. The try Statement
PythonInANutshell/Ch-6.2 Section 6.2. Exception Propagation
PythonInANutshell/Ch-6.3 Section 6.3. The raise Statement
PythonInANutshell/Ch-6.4 Section 6.4. Exception Objects
PythonInANutshell/Ch-6.5 Section 6.5. Custom Exception Classes
PythonInANutshell/Ch-6.6 Section 6.6. Error-Checking Strategies
1.4.4. Chapter 7. Modules
PythonInANutshell/Ch-7 Chapter 7. Modules
PythonInANutshell/Ch-7.1 Section 7.1. Module Objects
PythonInANutshell/Ch-7.2 Section 7.2. Module Loading
PythonInANutshell/Ch-7.3 Section 7.3. Packages
PythonInANutshell/Ch-7.4 Section 7.4. The Distribution Utilities (distutils)
1.4.5. Chapter 8. Core Built-ins
PythonInANutshell/Ch-8 Chapter 8. Core Built-ins
PythonInANutshell/Ch-8.1 Section 8.1. Built-in Types
PythonInANutshell/Ch-8.2 Section 8.2. Built-in Functions
PythonInANutshell/Ch-8.3 Section 8.3. The sys Module
PythonInANutshell/Ch-8.4 Section 8.4. The copy Module
PythonInANutshell/Ch-8.5 Section 8.5. The collections Module
PythonInANutshell/Ch-8.6 Section 8.6. The functional Module
PythonInANutshell/Ch-8.7 Section 8.7. The bisect Module
PythonInANutshell/Ch-8.8 Section 8.8. The heapq Module
PythonInANutshell/Ch-8.9 Section 8.9. The UserDict Module
PythonInANutshell/Ch-8.10 Section 8.10. The optparse Module
PythonInANutshell/Ch-8.11 Section 8.11. The itertools Module
1.4.6. Chapter 9. Strings and Regular Expressions
PythonInANutshell/Ch-9 Chapter 9. Strings and Regular Expressions
PythonInANutshell/Ch-9.1 Section 9.1. Methods of String Objects
PythonInANutshell/Ch-9.2 Section 9.2. The string Module
PythonInANutshell/Ch-9.3 Section 9.3. String Formatting
PythonInANutshell/Ch-9.4 Section 9.4. The pprint Module
PythonInANutshell/Ch-9.5 Section 9.5. The repr Module
PythonInANutshell/Ch-9.6 Section 9.6. Unicode
PythonInANutshell/Ch-9.7 Section 9.7. Regular Expressions and the re Module
1.5. Part III: Python Library and Extension Modules
1.5.1. Chapter 10. File and Text Operations
PythonInANutshell/Ch-10 Chapter 10. File and Text Operations
PythonInANutshell/Ch-10.1 Section 10.1. Other Chapters That Also Deal with Files
PythonInANutshell/Ch-10.2 Section 10.2. Organization of This Chapter
PythonInANutshell/Ch-10.3 Section 10.3. File Objects
PythonInANutshell/Ch-10.4 Section 10.4. Auxiliary Modules for File I/O
PythonInANutshell/Ch-10.5 Section 10.5. The StringIO and cStringIO Modules
PythonInANutshell/Ch-10.6 Section 10.6. Compressed Files
PythonInANutshell/Ch-10.7 Section 10.7. The os Module
PythonInANutshell/Ch-10.8 Section 10.8. Filesystem Operations
PythonInANutshell/Ch-10.9 Section 10.9. Text Input and Output
PythonInANutshell/Ch-10.10 Section 10.10. Richer-Text I/O
PythonInANutshell/Ch-10.11 Section 10.11. Interactive Command Sessions
PythonInANutshell/Ch-10.12 Section 10.12. Internationalization
1.5.2. Chapter 11. Persistence and Databases
PythonInANutshell/Ch-11 Chapter 11. Persistence and Databases
PythonInANutshell/Ch-11.1 Section 11.1. Serialization
PythonInANutshell/Ch-11.2 Section 11.2. DBM Modules
PythonInANutshell/Ch-11.3 Section 11.3. Berkeley DB Interfacing
PythonInANutshell/Ch-11.4 Section 11.4. The Python Database API (DBAPI) 2.0
1.5.3. Chapter 12. Time Operations
PythonInANutshell/Ch-12 Chapter 12. Time Operations
PythonInANutshell/Ch-12.1 Section 12.1. The time Module
PythonInANutshell/Ch-12.2 Section 12.2. The datetime Module
PythonInANutshell/Ch-12.3 Section 12.3. The pytz Module
PythonInANutshell/Ch-12.4 Section 12.4. The dateutil Module
PythonInANutshell/Ch-12.5 Section 12.5. The sched Module
PythonInANutshell/Ch-12.6 Section 12.6. The calendar Module
PythonInANutshell/Ch-12.7 Section 12.7. The mx.DateTime Module
1.5.4. Chapter 13. Controlling Execution
PythonInANutshell/Ch-13 Chapter 13. Controlling Execution
PythonInANutshell/Ch-13.1 Section 13.1. Dynamic Execution and the exec Statement
PythonInANutshell/Ch-13.2 Section 13.2. Internal Types
PythonInANutshell/Ch-13.3 Section 13.3. Garbage Collection
PythonInANutshell/Ch-13.4 Section 13.4. Termination Functions
PythonInANutshell/Ch-13.5 Section 13.5. Site and User Customization
1.5.5. Chapter 14. Threads and Processes
PythonInANutshell/Ch-14 Chapter 14. Threads and Processes
PythonInANutshell/Ch-14.1 Section 14.1. Threads in Python
PythonInANutshell/Ch-14.2 Section 14.2. The thread Module
PythonInANutshell/Ch-14.3 Section 14.3. The Queue Module
PythonInANutshell/Ch-14.4 Section 14.4. The threading Module
PythonInANutshell/Ch-14.5 Section 14.5. Threaded Program Architecture
PythonInANutshell/Ch-14.6 Section 14.6. Process Environment
PythonInANutshell/Ch-14.7 Section 14.7. Running Other Programs
PythonInANutshell/Ch-14.8 Section 14.8. The mmap Module
1.5.6. Chapter 15. Numeric Processing
PythonInANutshell/Ch-15 Chapter 15. Numeric Processing
PythonInANutshell/Ch-15.1 Section 15.1. The math and cmath Modules
PythonInANutshell/Ch-15.2 Section 15.2. The operator Module
PythonInANutshell/Ch-15.3 Section 15.3. Random and Pseudorandom Numbers
PythonInANutshell/Ch-15.4 Section 15.4. The decimal Module
PythonInANutshell/Ch-15.5 Section 15.5. The gmpy Module
1.5.7. Chapter 16. Array Processing
PythonInANutshell/Ch-16 Chapter 16. Array Processing
PythonInANutshell/Ch-16.1 Section 16.1. The array Module
PythonInANutshell/Ch-16.2 Section 16.2. Extensions for Numeric Array Computation
PythonInANutshell/Ch-16.3 Section 16.3. The Numeric Package
PythonInANutshell/Ch-16.4 Section 16.4. Array Objects
PythonInANutshell/Ch-16.5 Section 16.5. Universal Functions (ufuncs)
PythonInANutshell/Ch-16.6 Section 16.6. Auxiliary Numeric Modules
1.5.8. Chapter 17. Tkinter GUIs
PythonInANutshell/Ch-17 Chapter 17. Tkinter GUIs
PythonInANutshell/Ch-17.1 Section 17.1. Tkinter Fundamentals
PythonInANutshell/Ch-17.2 Section 17.2. Widget Fundamentals
PythonInANutshell/Ch-17.3 Section 17.3. Commonly Used Simple Widgets
PythonInANutshell/Ch-17.4 Section 17.4. Container Widgets
PythonInANutshell/Ch-17.5 Section 17.5. Menus
PythonInANutshell/Ch-17.6 Section 17.6. The Text Widget
PythonInANutshell/Ch-17.7 Section 17.7. The Canvas Widget
PythonInANutshell/Ch-17.8 Section 17.8. Layout Management
PythonInANutshell/Ch-17.9 Section 17.9. Tkinter Events
1.5.9. Chapter 18. Testing, Debugging, and Optimizing
PythonInANutshell/Ch-18 Chapter 18. Testing, Debugging, and Optimizing
PythonInANutshell/Ch-18.1 Section 18.1. Testing
PythonInANutshell/Ch-18.2 Section 18.2. Debugging
PythonInANutshell/Ch-18.3 Section 18.3. The warnings Module
PythonInANutshell/Ch-18.4 Section 18.4. Optimization
1.6. Part IV: Network and Web Programming
1.6.1. Chapter 19. Client-Side Network Protocol Modules
PythonInANutshell/Ch-19 Chapter 19. Client-Side Network Protocol Modules
PythonInANutshell/Ch-19.1 Section 19.1. URL Access
PythonInANutshell/Ch-19.2 Section 19.2. Email Protocols
PythonInANutshell/Ch-19.3 Section 19.3. The HTTP and FTP Protocols
PythonInANutshell/Ch-19.4 Section 19.4. Network News
PythonInANutshell/Ch-19.5 Section 19.5. Telnet
PythonInANutshell/Ch-19.6 Section 19.6. Distributed Computing
PythonInANutshell/Ch-19.7 Section 19.7. Other Protocols
1.6.2. Chapter 20. Sockets and Server-Side Network Protocol Modules
PythonInANutshell/Ch-20 20 章. 套接字和服务器端网络协议模块 -- Roka(Jia Lu) "已完成"
PythonInANutshell/Ch-20.1 20.1. 套接字(Socket)模块
PythonInANutshell/Ch-20.2 20.2. 套接字服务器(SocketServer)模块
PythonInANutshell/Ch-20.3 20.3. 事件驱动型套接字程序
1.6.3. Chapter 21. CGI Scripting and Alternatives
PythonInANutshell/Ch-21 Chapter 21. CGI Scripting and Alternatives
PythonInANutshell/Ch-21.1 Section 21.1. CGI in Python
PythonInANutshell/Ch-21.2 Section 21.2. Cookies
PythonInANutshell/Ch-21.3 Section 21.3. Other Server-Side Approaches
1.6.4. Chapter 22. MIME and Network Encodings
PythonInANutshell/Ch-22 Chapter 22. MIME and Network Encodings
PythonInANutshell/Ch-22.1 Section 22.1. Encoding Binary Data as Text
PythonInANutshell/Ch-22.2 Section 22.2. MIME and Email Format Handling
1.6.5. Chapter 23. Structured Text: HTML
PythonInANutshell/Ch-23 Chapter 23. Structured Text: HTML
PythonInANutshell/Ch-23.1 Section 23.1. The sgmllib Module
PythonInANutshell/Ch-23.2 Section 23.2. The htmllib Module
PythonInANutshell/Ch-23.3 Section 23.3. The HTMLParser Module
PythonInANutshell/Ch-23.4 Section 23.4. The BeautifulSoup Extension
PythonInANutshell/Ch-23.5 Section 23.5. Generating HTML
1.6.6. Chapter 24. Structured Text: XML
PythonInANutshell/Ch-24 Chapter 24. Structured Text: XML
PythonInANutshell/Ch-24.1 Section 24.1. An Overview of XML Parsing
PythonInANutshell/Ch-24.2 Section 24.2. Parsing XML with SAX
PythonInANutshell/Ch-24.3 Section 24.3. Parsing XML with DOM
PythonInANutshell/Ch-24.4 Section 24.4. Changing and Generating XML
1.7. Part V: Extending and Embedding
1.7.1. Chapter 25. Extending and Embedding Classic Python
PythonInANutshell/Ch-25 Chapter 25. Extending and Embedding Classic Python
PythonInANutshell/Ch-25.1 Section 25.1. Extending Python with Python's C API
PythonInANutshell/Ch-25.2 Section 25.2. Extending Python Without Python's C API
PythonInANutshell/Ch-25.3 Section 25.3. Embedding Python
PythonInANutshell/Ch-25.4 25章.4节 Pyrex -- ZoomQuiet
1.7.2. Chapter 26. Extending and Embedding Jython
PythonInANutshell/Ch-26 Chapter 26. Extending and Embedding Jython
PythonInANutshell/Ch-26.1 Section 26.1. Importing Java Packages in Jython
PythonInANutshell/Ch-26.2 Section 26.2. Embedding Jython in Java
PythonInANutshell/Ch-26.3 Section 26.3. Compiling Python into Java
1.7.3. Chapter 27. Distributing Extensions and Programs
PythonInANutshell/Ch-27 Chapter 27. Distributing Extensions and Programs
PythonInANutshell/Ch-27.1 Section 27.1. Python's distutils
PythonInANutshell/Ch-27.2 Section 27.2. py2exe
PythonInANutshell/Ch-27.3 Section 27.3. py2app
PythonInANutshell/Ch-27.4 Section 27.4. cx_Freeze
PythonInANutshell/Ch-27.5 Section 27.5. PyInstaller
1.8. About the Author
1.9. Colophon