|
None
|
lzzzing
|
pydoc/documenting/sphinx.html#5 |
2010-08-24 10:16:32
|
在文档的根目录里,即源代码的"Doc"子目录,有一个叫做"conf.py"的构建配置文件,它包含一些在构建运行时需要使用的变量。
|
|
|
None
|
lzzzing
|
pydoc/documenting/sphinx.html#5 |
2010-08-24 10:16:14
|
在文档的根目录里,即源代码的``Doc``子目录,有一个叫做``conf.py``的构建配置文件,它包含一些在构建运行时需要使用的变量。
|
|
|
None
|
lzzzing
|
pydoc/documenting/sphinx.html#5 |
2010-08-24 10:15:50
|
在文档的根目录里,即源代码的``Doc``子目录,有一个叫做``conf.py``的构建配置文件,它包含一些在构建运行时需要使用的变量。
|
|
|
None
|
lzzzing
|
pydoc/documenting/sphinx.html#7 |
2010-08-24 10:15:24
|
version : string
``|version|`` 的替代,指使用的Python版本。它只包含主版本号和次版本号,如"2.5",即使Python版本是2.5.1。
|
|
|
None
|
lzzzing
|
pydoc/documenting/sphinx.html#7 |
2010-08-24 10:14:52
|
version : string
"|version|" 的替代,指使用的Python版本。它只包含主版本号和次版本号,如"2.5",即使Python版本是2.5.1。
|
|
|
None
|
lzzzing
|
pydoc/documenting/sphinx.html#2 |
2010-08-24 10:11:53
|
.. XXX: intro...
|
|
|
None
|
lzzzing
|
pydoc/documenting/sphinx.html#5 |
2010-08-24 10:11:33
|
在文档的根目录里,即源代码的"Doc"子目录,有一个叫做"conf.py"的构建配置文件,它包含一些在构建运行时需要使用的变量。
|
|
|
None
|
|
pydoc/documenting/sphinx.html#6 |
2010-08-24 10:09:58
|
这些变量是:
|
|
|
None
|
|
pydoc/documenting/sphinx.html#4 |
2010-08-24 10:08:56
|
构建配置文件
----------------------------
|
|
|
None
|
|
pydoc/distutils/index.html#1 |
2010-08-03 22:21:57
|
|
|
|
None
|
|
pydoc/library/tkinter.html#10 |
2010-07-16 20:02:29
|
|
|
|
None
|
|
pydoc/c-api/utilities.html#67 |
2010-07-06 14:07:19
|
|
|
|
None
|
|
pydoc/library/socket.html#108 |
2010-06-16 21:55:50
|
|
|
|
None
|
chris chen
|
pydoc/library/cmd.html#21 |
2010-06-13 15:52:40
|
方法:Cmd.emptyline()
当输入空命令的时候会自动调用
|
|
|
None
|
jiakuaibu
|
pydoc/tutorial/datastructures.html#45 |
2010-06-06 00:51:53
|
列表解析提供了一个从序列创建列表的简洁途径。常用方式是通过计算用序列成员来生成列表的每一个元素,或者是挑选符合条件的序列元素构成一个子序列。
|
|
|
None
|
jiakuaibu
|
pydoc/tutorial/datastructures.html#44 |
2010-06-06 00:50:19
|
列表解析
-------------------
|
这个译法更常用
|
|
None
|
meichenhui@gmail.com
|
pydoc/extending/embedding.html#2 |
2010-06-03 10:06:21
|
***************************************
将Python嵌入其他应用程序之中
***************************************
|
|
|
None
|
|
pydoc/library/compileall.html#9 |
2010-03-30 10:56:06
|
|
|
| youwintranszjt |
youwintranszjt
|
web2py/cookbook/examples.html#82 |
2010-03-09 16:30:35
|
例子 23
~~~~~~~~~~
|
testing
|
|
None
|
pongamia
|
pydoc/library/platform.html#58 |
2010-03-05 14:44:52
|
generic cialis [url="http://www.arkcalledearth.org/"]generic cialis[/url] http://www.arkcalledearth.org/ generic cialis 8-[
|
0.969387755102041
|
|
None
|
pongamia
|
pydoc/library/platform.html#58 |
2010-03-05 14:44:11
|
generic cialis [url="http://www.arkcalledearth.org/"]generic cialis[/url] http://www.arkcalledearth.org/ generic cialis 8-[
|
0.969387755102041
|
|
None
|
pongamia
|
pydoc/library/platform.html#58 |
2010-03-05 14:43:31
|
generic cialis [url="http://www.arkcalledearth.org/"]generic cialis[/url] http://www.arkcalledearth.org/ generic cialis 8-[
|
0.969387755102041
|
|
None
|
ovtcflot
|
pydoc/library/platform.html#58 |
2010-03-04 16:28:34
|
VXWsDy nuxyhmagazng, [url=http://cmwamhwcsfmk.com/]cmwamhwcsfmk[/url], [link=http://pbofekozmnyl.com/]pbofekozmnyl[/link], http://fikgsklcequh.com/
|
0.969387755102041
|
|
None
|
|
pydoc/library/rfc822.html#38 |
2010-01-30 01:07:16
|
|
|
|
None
|
|
pydoc/tutorial/interpreter.html#8 |
2009-12-30 02:17:10
|
解释器的行编辑功能并不很复杂。装在Unix上的解释器可能会有GNU readline 库支持,这样就可以额外得到精巧的交互编辑和历史记录功能。可能检查命令行编辑器支持能力最方便的方式是在主提示符下输入Ctrl+P。如果有嘟嘟声(计算机扬声器),说明你可以使用命令行编辑功能,从附录 :ref:`tut-interacting` 可以查到快捷键的介绍。如果什么也没有发声,或者 ``^P`` 显示了出来,说明命令行编辑功能不可用,你只有用退格键删掉输入的命令了。
|
|
|
None
|
|
pydoc/library/exceptions.html#74 |
2009-12-08 17:35:56
|
|
|
|
None
|
|
pydoc/howto/regex.html#2 |
2009-11-02 22:04:47
|
I do not know how to do it, like how to do is wrong
|
|
|
None
|
|
pydoc/library/tokenize.html#0 |
2009-10-29 19:36:08
|
|
|
|
None
|
|
pydoc/documenting/markup.html#1 |
2009-10-24 15:51:53
|
|
|
|
None
|
Cliff Peng
|
pydoc/library/datetime.html#3 |
2009-10-12 22:59:57
|
:mod:`datetime` 模块所提供的类可以用简单或者复杂的方式来生成日期和时间。尽管
也支持日期和时间算法,但实现的重点放在了用于输出格式和生成的高效的成员提取。
相关的功能也可查阅 :mod:`time` 和 :mod:`calendar` 模块。
|
|
| Logic0 |
|
web2py/cookbook/examples.html#2 |
2009-10-05 12:23:29
|
简单的几个例子
----------------
|
|
| Logic0 |
|
web2py/cookbook/examples.html#10 |
2009-10-05 12:22:47
|
例子 3
|
|
| Logic0 |
|
web2py/cookbook/examples.html#7 |
2009-10-05 12:22:34
|
例子 2
|
|
|
None
|
|
pydoc/library/socket.html#22 |
2009-09-30 17:35:13
|
|
|
|
None
|
方法
|
pydoc/about.html#1 |
2009-09-30 16:47:13
|
在本文档的在线版本中,你可以在对应文档页中直接提交评论和修改建议
|
|
|
None
|
方法
|
pydoc/about.html#1 |
2009-09-30 16:46:17
|
在本文档的在线版本中,你可以在对应文档页中直接提交评论和修改建议gfsg发个
|
恩恩
|
| xbwee |
Wee Binn
|
pydoc/howto/regex.html#2 |
2009-09-23 17:12:33
|
|
|
| xbwee |
Wee Binn
|
pydoc/howto/regex.html#63 |
2009-09-23 12:50:24
|
此 HOWTO 使用标准 Python 解释器来执行演示范例。首先启动 Python 解释器,导入模块 :mod:`re` 并编译成 RE:
::
Python 2.2.2 (#1, Feb 10 2003, 12:57:01)
>>> import re
>>> p = re.compile('[a-z]+')
>>> p
<_sre.SRE_Pattern object at 80c3c28> |
|
| xbwee |
Wee Binn
|
pydoc/howto/regex.html#62 |
2009-09-23 12:46:55
|
可以导入 :mod:`re` 模块来交互式学习和使用正则表达式。如果安装了 Tkinter ,那么随 Python 发行包一起发行的演示程序 :file:`Tools/scripts/redemo.py` 值得看看。输入 REs 和需要匹配的字符串后,它会显示匹配的结果。 :file:`redemo.py` 对调试正则表达式非常有用。Phil Schwartz 的 `Kodos `_ 也是一个开发正则表达式的交互式工具。
|
|
| xbwee |
Wee Binn
|
pydoc/howto/regex.html#61 |
2009-09-23 12:46:45
|
如果没找到匹配,则 :meth:`match` 和 :meth:`search` 返回"None" 。如果匹配成功,则返回一个 "MatchObject" 对象实例,包含所有匹配信息,如从哪儿开始到哪儿结束,匹配的子串等等。
|
|
| xbwee |
Wee Binn
|
pydoc/howto/regex.html#62 |
2009-09-23 12:45:29
|
可以导入 :mod:`re` 模块来交互式学习和使用正则表达式。如果安装了 Tkinter ,那么随 Python 发行包一起发行的演示程序 :file:`Tools/scripts/redemo.py` 值得看看。输入 REs 和需要匹配的字符串后,它会显示匹配的结果。 :file:`redemo.py` 对调试正则表达式非常有用。Phil Schwartz 的 `Kodos`_ 也是一个开发正则表达式的交互式工具。
|
|
| xbwee |
Wee Binn
|
pydoc/howto/regex.html#61 |
2009-09-23 12:37:56
|
如果没找到匹配,则 :meth:`match` 和 :meth:`search` 返回"None" 。如果匹配成功,则返回一个 "MatchObject" 对象实例,包含所有匹配信息,如从哪儿开始到哪儿结束,匹配的字串等等。
|
|
| xbwee |
Wee Binn
|
pydoc/howto/regex.html#59 |
2009-09-23 12:32:33
|
当我们有了一个编译成字节码的正则表达式对象后可以用来做什么呢? :class:`RegexObject` 类的实例有很多方法和属性,在这里仅仅讨论最常用的一些,完整列表可参考 `the Library Reference `_
|
|
| xbwee |
Wee Binn
|
pydoc/howto/regex.html#59 |
2009-09-23 12:31:37
|
当我们有了一个编译成字节码的正则表达式对象后可以用来做什么呢? :class:`RegexObject` 类的实例有很多方法和属性,在这里仅仅讨论最常用的一些,完整列表可参考 `the Library Reference `_
|
|
| xbwee |
Wee Binn
|
pydoc/howto/regex.html#59 |
2009-09-23 12:30:46
|
当我们有了一个编译成字节码的正则表达式对象后可以用来做什么呢?:class:`RegexObject` 类的实例有很多方法和属性,在这里仅仅讨论最常用的一些,完整列表可参考 `the Library Reference `
|
Wed, Sep 23 2009
|
| xbwee |
Wee Binn
|
pydoc/howto/regex.html#58 |
2009-09-22 00:37:07
|
执行匹配
------------------
|
Sat 22,Sep 2009
|
| xbwee |
Wee Binn
|
pydoc/howto/regex.html#56 |
2009-09-22 00:35:35
|
解决办法是使用 Python 的原始字符串--字符串前面加字母 'r'。原始字符串中的所有字符都当做普通字符处理没有任何特殊含义。因此 r"\\n" 是 "\\" 和 "n" 两个字符。而 "\\n" 则表示一个字符即换行符。Python 中的正则表达式都用原始字符串来表示。
|
Sat 22,Sep 2009
|
| xbwee |
Wee Binn
|
pydoc/howto/regex.html#55 |
2009-09-22 00:29:55
|
简言之,为了匹配一个反斜线字符,在 RE 字符串中必须写四个反斜线字符,这是因为传递给正则表达式引擎的 RE 必须是 "\\\\section",然而 RE 是用 Python 字符串来表示的,因此每个反斜线字符还需要转义。这就导致 REs 中出现大量的反斜线字符,十分难理解。
|
Sat 22,Sep 2009
|
| xbwee |
Wee Binn
|
pydoc/howto/regex.html#53 |
2009-09-22 00:21:41
|
假设你需要写一个 RE 来匹配字符串"\\section",这在 LaTeX 文件中可以见到。为了搞清如何编写程序,我们从需要匹配的字符串 "\\section" 开始。接下来,必须对反斜线和其它元字符使用反斜线进行转义,结果传递给 :func:`re.compile` 的应该是 "\\\\section" 。然而,为了用 Python 字符串来表示,还需要再对此字符串中的反斜线进行转义。
|
Sat 22,Sep 2009
|
| xbwee |
Wee Binn
|
pydoc/howto/regex.html#52 |
2009-09-19 20:22:15
|
先前说过,正则表达式使用反斜线"\\"引导特殊字符系列或者把元字符转义为普通字符使用。在 Python 中反斜线也是用作转义字符,这就导致了冲突。
|
|