Differences between revisions 2 and 3
Revision 2 as of 2007-08-25 01:01:46
Size: 179
Editor: XiaoQi
Comment:
Revision 3 as of 2007-08-25 05:58:11
Size: 813
Editor: XiaoQi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
attachment:html.7z [[BR]]
attachment:htmlflat.7z [[BR]]
attachment:txt.7z [[BR]]
以上文件均不包含样例程序,程序请单独下载:[[BR]]
HTML attachment:html.7z [[BR]]
HTML(单文件) attachment:htmlflat.7z [[BR]]
纯文本 attachment:txt.7z [[BR]]
(!) 以上文件均不包含样例程序,程序请单独下载:[[BR]]
Line 6: Line 6:

以下是 XiaQ 构建 txt 版的流程:
 1. 生成 htmlflat(html 单文件),改名为 raw.html。
 1. 把脚本 attachment:html.py 放到同一个目录下运行 (这个脚本的作用是把例子中的编号都做上记号,以待转 txt 时用)。
 1. 用 FF3 打开 (FF2 应该也可,我没有试验了) restructed.html,Copy & Paste 为纯文本(不要直接导出,FF 的导出功能对 unicode 的兼容性不怎么样),存为 raw.txt。
 1. 把脚本 attachment:txt.py 放到同一个目录下运行,生成的 restructed.txt 即是重新排版后的纯文本文件。

HTML attachment:html.7z BR HTML(单文件) attachment:htmlflat.7z BR 纯文本 attachment:txt.7z BR (!) 以上文件均不包含样例程序,程序请单独下载:BR attachment:examples.7z

以下是 XiaQ 构建 txt 版的流程:

  1. 生成 htmlflat(html 单文件),改名为 raw.html。
  2. 把脚本 attachment:html.py 放到同一个目录下运行 (这个脚本的作用是把例子中的编号都做上记号,以待转 txt 时用)。
  3. 用 FF3 打开 (FF2 应该也可,我没有试验了) restructed.html,Copy & Paste 为纯文本(不要直接导出,FF 的导出功能对 unicode 的兼容性不怎么样),存为 raw.txt。

  4. 把脚本 attachment:txt.py 放到同一个目录下运行,生成的 restructed.txt 即是重新排版后的纯文本文件。

DiveIntoPythonZh/nightlybuild (last edited 2009-12-25 07:16:09 by localhost)