Size: 2056
Comment: 过得真快,一下子就将近一年了。有点怀念自己校对 dip 的那两个月的时光……
|
← Revision 7 as of 2009-12-25 07:09:17 ⇥
Size: 2059
Comment: converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
[[TableOfContents]] | <<TableOfContents>> |
Line 5: | Line 5: |
[:../2007-07-07] | [[../2007-07-07]] |
Line 7: | Line 7: |
1. `Para 1`:除了普通的类方法,'''还有一些对于 Python 类可以定义的专用方法'''。[[BR]] {1} 除了普通的类方法,'''对于 Python 类还有一些可以定义的专用方法'''。[[BR]] |
1. `Para 1`:除了普通的类方法,'''还有一些对于 Python 类可以定义的专用方法'''。<<BR>> {1} 除了普通的类方法,'''对于 Python 类还有一些可以定义的专用方法'''。<<BR>> |
Line 11: | Line 11: |
[:../2007-07-11] | [[../2007-07-11]] |
Line 13: | Line 13: |
1. `例6.2, (1)`:''termios is a '''UNIX-specific''' module...''[[BR]] termios 是一个 '''UNIX 特定模块'''[[BR]] {1} termios 是一个'''特定的 UNIX 模块'''[[BR]] (./) termios 是 '''UNIX 独有的一个模块'''[[BR]] |
1. `例6.2, (1)`:''termios is a '''UNIX-specific''' module...''<<BR>> termios 是一个 '''UNIX 特定模块'''<<BR>> {1} termios 是一个'''特定的 UNIX 模块'''<<BR>> (./) termios 是 '''UNIX 独有的一个模块'''<<BR>> |
Line 22: | Line 22: |
1. `例6.14上`:''The next example shows how to use the `__module__` class attribute with the sys.modules dictionary to get a reference to the module in which a class is defined.''[[BR]] 下面的例子介绍 sys.modules dictionary 的 `__module__` 属性,可以作为理解已定义类中 `__module__` 属性的参考。[[BR]] (./) 下面的例子将展示通过结合使用 `__module__` 类属性和 sys.modules dictionary 来获取已知类所在的模块。[[BR]] |
1. `例6.14上`:''The next example shows how to use the `__module__` class attribute with the sys.modules dictionary to get a reference to the module in which a class is defined.''<<BR>> 下面的例子介绍 sys.modules dictionary 的 `__module__` 属性,可以作为理解已定义类中 `__module__` 属性的参考。<<BR>> (./) 下面的例子将展示通过结合使用 `__module__` 类属性和 sys.modules dictionary 来获取已知类所在的模块。<<BR>> |
Line 29: | Line 29: |
[:../2007-07-14] | [[../2007-07-14]] |
Line 31: | Line 31: |
1. 当使用松散正则表达式时,最重要的一件事情就是:必须传递'''另外一个参数''' re.VERBOSE……[[BR]] | 1. 当使用松散正则表达式时,最重要的一件事情就是:必须传递'''另外一个参数''' re.VERBOSE……<<BR>> |
8-4<Xr5-8> Review: Chapter 5-8
Contents
5. 对象和面向对象
5.6 专用类方法
Para 1:除了普通的类方法,还有一些对于 Python 类可以定义的专用方法。
除了普通的类方法,对于 Python 类还有一些可以定义的专用方法。
除了普通的类方法,Python 类还可以定义专用方法。
6. 异常和文件处理
6.1 异常处理
例6.2, (1):termios is a UNIX-specific module...
termios 是一个 UNIX 特定模块
termios 是一个特定的 UNIX 模块
termios 是 UNIX 独有的一个模块
关于 msvcrt, easydialogs 作类似修改,不再一一列出。
6.2 与文件对象共事
6.2.1 读取文件
例6.4, (2):删去了这里的译注。
6.5 使用 sys.modules
例6.14上:The next example shows how to use the __module__ class attribute with the sys.modules dictionary to get a reference to the module in which a class is defined.
下面的例子介绍 sys.modules dictionary 的 __module__ 属性,可以作为理解已定义类中 __module__ 属性的参考。
下面的例子将展示通过结合使用 __module__ 类属性和 sys.modules dictionary 来获取已知类所在的模块。
原译弄得我一头雾水,我还译为是原版错了呢
6.5 与 Directory 共事
本节标题:我仔细看了一下这一章, Directory 没有用作语言关键字。改为与目录共事。
7. 正则表达式
7.5 松散正则表达式
当使用松散正则表达式时,最重要的一件事情就是:必须传递另外一个参数 re.VERBOSE……
当使用松散正则表达式时,最重要的一件事情就是:必须传递一个额外的参数 re.VERBOSE
8. HTML 处理
pass