<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://www.pythonclub.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://www.pythonclub.org/feed.php">
        <title>Python 俱乐部 python-files</title>
        <description></description>
        <link>http://www.pythonclub.org/</link>
        <image rdf:resource="http://www.pythonclub.org/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-05-01T10:24:40+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/binary?rev=1298558098&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/call-dll-functions?rev=1311744923&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/chm-format?rev=1298556564&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/chm?rev=1298541222&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/csv?rev=1275441530&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/csv2xlsx?rev=1570333211&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/dbf?rev=1280667277&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/excel?rev=1275441530&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/file-basic?rev=1275441530&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/format-convert-pandoc?rev=1496915009&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/html-body?rev=1275441530&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/html-get-id?rev=1324616590&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/html?rev=1297346054&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/htmlparser?rev=1275441530&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/ini?rev=1292820899&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/last-line?rev=1361005896&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/lrc?rev=1362980831&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/mime-type?rev=1304403186&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/mime?rev=1304402330&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/pdf-calendar-orignal-ref-back?rev=1491026556&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/pdf-calendar?rev=1491026888&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/pdf?rev=1388566911&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/pe-exe-dll?rev=1299222586&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/pe-format?rev=1299210907&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/py2exe-matplotlib?rev=1310656555&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/py2exe-wxpython?rev=1310656232&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/py2exe?rev=1275441530&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/pystardict?rev=1281687628&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/qss-danci?rev=1305271691&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/rar?rev=1298517932&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/sqlite?rev=1275441530&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/stardict-format?rev=1281710421&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/stardict?rev=1303217254&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/start?rev=1522813983&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/txt2jpg?rev=1461680659&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/word?rev=1275441530&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/xml?rev=1275441530&amp;do=diff"/>
                <rdf:li rdf:resource="http://www.pythonclub.org/python-files/zip?rev=1282036855&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.pythonclub.org/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Python 俱乐部</title>
        <link>http://www.pythonclub.org/</link>
        <url>http://www.pythonclub.org/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="http://www.pythonclub.org/python-files/binary?rev=1298558098&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-02-24T14:34:58+00:00</dc:date>
        <title>Python读写二进制文件</title>
        <link>http://www.pythonclub.org/python-files/binary?rev=1298558098&amp;do=diff</link>
        <description>Python读写二进制文件

使用python语言直接读取普通文件，可以使用


open('filepath/filename','r')


open函数中，第一个参数表示读取文件的路径，第二个参数表示打开文件的模式，

	*  ‘r’表示只读（缺省，如果文件不存在，则会抛出错误）</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/call-dll-functions?rev=1311744923&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-07-27T05:35:23+00:00</dc:date>
        <title>Python使用ctypes调用DLL中的函数</title>
        <link>http://www.pythonclub.org/python-files/call-dll-functions?rev=1311744923&amp;do=diff</link>
        <description>Python使用ctypes调用DLL中的函数

在python中调用dll文件中的接口比较简单，实例代码如下。

__stdcall 模式 DLL

如我们有一个test.dll文件，内部定义如下：


extern &quot;C&quot;
{

int __stdcall test( void* p, int len)
{
     return len;
}

}</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/chm-format?rev=1298556564&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-02-24T14:09:24+00:00</dc:date>
        <title>CHM文件的文件格式</title>
        <link>http://www.pythonclub.org/python-files/chm-format?rev=1298556564&amp;do=diff</link>
        <description>CHM文件的文件格式



参考

	*  &lt;http://www.russotto.net/chm/chmformat.html&gt;</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/chm?rev=1298541222&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-02-24T09:53:42+00:00</dc:date>
        <title>Python读写CHM文件</title>
        <link>http://www.pythonclub.org/python-files/chm?rev=1298541222&amp;do=diff</link>
        <description>Python读写CHM文件

可以使用pychm模块读取CHM文件

	*  &lt;http://gnochm.sourceforge.net/pychm.html&gt;
	*  &lt;http://gnochm.sourceforge.net/&gt;
	*  &lt;http://www.jedrea.com/chmlib/&gt;

CHM解包工具

	*  7z 可以将chm解包为HTML
	*  CHM文件的文件格式
	*   archmage</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/csv?rev=1275441530&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-02T01:18:50+00:00</dc:date>
        <title>Python CSV文件处理/读写</title>
        <link>http://www.pythonclub.org/python-files/csv?rev=1275441530&amp;do=diff</link>
        <description>Python CSV文件处理/读写

CSV全称为“Comma Separated Values“,是一种格式化的文件，由行和列组成，分隔符可以根据需要来变化。 

如下面为一csv文件：


Title,Release Date,Director
And Now For Something Completely Different,1971,Ian MacNaughton
Monty Python And The Holy Grail,1975,Terry Gilliam and Terry Jones
Monty Python's Life Of Brian,1979,Terry Jones
Monty Python Live At The Hollywood Bowl,1982,Terry Hughes
Monty Python's The Meaning Of Life,1983,Terry Jones…</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/csv2xlsx?rev=1570333211&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-10-06T03:40:11+00:00</dc:date>
        <title>使用Python合并多个CSV文件为Excel xlsx文件</title>
        <link>http://www.pythonclub.org/python-files/csv2xlsx?rev=1570333211&amp;do=diff</link>
        <description>使用Python合并多个CSV文件为Excel xlsx文件

工作中经常会生成csv文件，不同的csv文件生成excel的xlsx文件会比较方便，和同事分享也容易。
就用python写了个小脚本，来合并csv文件为xlsx。

更新： @2019-10-6 
增加判断数据是否为数值，使用数值会使合并后的excel操作更加灵活，方便。</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/dbf?rev=1280667277&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-01T12:54:37+00:00</dc:date>
        <title>Python 读取DBF/FPT 文件</title>
        <link>http://www.pythonclub.org/python-files/dbf?rev=1280667277&amp;do=diff</link>
        <description>Python 读取DBF/FPT 文件

DBF/FPT是 FoxPro 数据库存储文件的格式，虽然现在 FoxPro 已经不用了，但是有些情况下我们需要读取DBF/FPT数据库文件。这里整理了用Python读取DBF/FPT文件相关 Python 模块。

FPT 文件格式</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/excel?rev=1275441530&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-02T01:18:50+00:00</dc:date>
        <title>Python 使用 xlrd 读取 Excel格式文件</title>
        <link>http://www.pythonclub.org/python-files/excel?rev=1275441530&amp;do=diff</link>
        <description>Python 使用 xlrd 读取 Excel格式文件

使用 xlrd 能够很方便的读取 excel 文件内容，
而且这是个跨平台的库，能够在windows，linux/unix，等平台上面使用。

软件可以去这个地址&lt;http://www.lexicon.net/sjmachin/xlrd.htm&gt;下载。

简单例子


import xlrd

fname = &quot;sample.xls&quot;
bk = xlrd.open_workbook(fname)
shxrange = range(bk.nsheets)
try:
    sh = bk.sheet_by_name(&quot;Sheet1&quot;)
except:
    print &quot;no sheet in %s named Sheet1&quot; % fname
    return None
nrows = sh.nrows
ncols = sh.ncols
print &quot;nrows %d, ncols %d&quot; % (nrows,ncols)

cell_value = sh.cell_value(1,1)
print cell_value

r…</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/file-basic?rev=1275441530&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-02T01:18:50+00:00</dc:date>
        <title>Python 文件(file)处理 例子</title>
        <link>http://www.pythonclub.org/python-files/file-basic?rev=1275441530&amp;do=diff</link>
        <description>Python 文件(file)处理 例子

Python 文件处理很简单，使用内置的文件类. 

请看下面的例子:

打开一个文件


#open返回一个文件类
infile = open(&quot;file_name&quot;)

#读整个文件内容到 file_content
file_content = infile.read() 

#读取所有行，存为list(列表)
infile.seek(0)
file_content_list = infile.readlines()</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/format-convert-pandoc?rev=1496915009&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-06-08T09:43:29+00:00</dc:date>
        <title>Pandoc/Pypandoc</title>
        <link>http://www.pythonclub.org/python-files/format-convert-pandoc?rev=1496915009&amp;do=diff</link>
        <description>Pandoc/Pypandoc

Reference

	*  &lt;https://pypi.python.org/pypi/pypandoc&gt;
	*  &lt;https://pandoc.org/&gt;</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/html-body?rev=1275441530&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-02T01:18:50+00:00</dc:date>
        <title>从HTML文件中抽取正文的简单方案 zz</title>
        <link>http://www.pythonclub.org/python-files/html-body?rev=1275441530&amp;do=diff</link>
        <description>从HTML文件中抽取正文的简单方案 zz

原文地址：&lt;http://ai-depot.com/articles/the-easy-way-to-extract-useful-text-from-arbitrary-html/&gt; 



译者导读：这篇文章主要介绍了从不同类型的HTML文件中抽取出真正有用的正文内容的一种有广泛适应性的方法。其功能类似于CSDN近期推出的“剪影”，能够去除页眉、页脚和侧边栏的无关内容，非常实用。其方法简单有效而又出乎意料，看完后难免大呼原来还可以这样！行文简明易懂，虽然应用了人工神经网络这样的算法，但因为FANN良好的封装性，并不要求读者需要懂得ANN。全文示例以Python代码写成，可读性更佳，具有科普气息，值得一读。…</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/html-get-id?rev=1324616590&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-12-23T05:03:10+00:00</dc:date>
        <title>得到HTML指定ID的内容</title>
        <link>http://www.pythonclub.org/python-files/html-get-id?rev=1324616590&amp;do=diff</link>
        <description>得到HTML指定ID的内容

大多时候，我们需要得到一个HTML文件中指定的内容，比如得到指定ID的内容，写了个脚本，就实现了这个功能，和大家一起分享一下。

Python脚本


##
# created by gudonghua#gmail.com
# posted in http://www.pythonclub.org @ 2011-12-23
# 
##

import re
import os

IGNORE_TAGS_START = [
    &quot;&lt;img&quot;, &quot;&lt;br&quot;, &quot;&lt;!&quot;
    ]

IGNORE_TAGS_END = [
    &quot;/&gt;&quot;
    ]


def get_id_tag(content, id_name):
  id_name = id_name.strip()
  patt_id_tag = &quot;&quot;&quot;&lt;[^&gt;]*id=['&quot;]?&quot;&quot;&quot; + id_name + &quot;&quot;&quot;['&quot; ][^&gt;]*&gt;&quot;&quot;&quot;
  id_tag = re.findall(patt_id_tag, content, re.DOTALL|re.IGNORECASE)
  if i…</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/html?rev=1297346054&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-02-10T13:54:14+00:00</dc:date>
        <title>Python 解析 html 文件</title>
        <link>http://www.pythonclub.org/python-files/html?rev=1297346054&amp;do=diff</link>
        <description>Python 解析 html 文件

各种HTML Parser比较

&lt;http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/&gt;

HTMLParser

HTMLParser是Python自带的模块，能够很容易实现HTML文件的处理 

使用HTMLParser解析HTML文件

BeautifulSoup

看了一下介绍，觉得功能很强劲，还没又时间去研究。

BeautifulSoup简单文档有空我会去完善的。</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/htmlparser?rev=1275441530&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-02T01:18:50+00:00</dc:date>
        <title>Python 用HTMLParser解析HTML文件</title>
        <link>http://www.pythonclub.org/python-files/htmlparser?rev=1275441530&amp;do=diff</link>
        <description>Python 用HTMLParser解析HTML文件

HTMLParser是Python自带的模块，使用简单，能够很容易的实现HTML文件的分析。

本文主要简单讲一下HTMLParser的用法. 


使用时需要定义一个从类HTMLParser继承的类，重定义函数：</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/ini?rev=1292820899&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-12-20T04:54:59+00:00</dc:date>
        <title>Python 处理 ini 格式文件 | ConfigParser的使用</title>
        <link>http://www.pythonclub.org/python-files/ini?rev=1292820899&amp;do=diff</link>
        <description>Python 处理 ini 格式文件 | ConfigParser的使用

ini文件格式概述

ini 文件是文本文件，ini文件的数据格式一般为： 


[Section1 Name] 
KeyName1=value1 
KeyName2=value2 
...

[Section2 Name] 
KeyName1=value1 
KeyName2=value2</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/last-line?rev=1361005896&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-16T09:11:36+00:00</dc:date>
        <title>Python 读取文件的最后一行</title>
        <link>http://www.pythonclub.org/python-files/last-line?rev=1361005896&amp;do=diff</link>
        <description>Python 读取文件的最后一行

在读取大文件的时候，有时只需要读取文件的最后一行，如果从头开始的读的话会浪费很多资源。

代码实现

下面的代码可以直接读取文件的最后一行：


def get_last_line(inputfile) :
  filesize = os.path.getsize(inputfile)
  blocksize = 1024
  dat_file = open(inputfile, 'rb')
  last_line = &quot;&quot;
  if filesize &gt; blocksize :
      maxseekpoint = (filesize // blocksize)
      dat_file.seek((maxseekpoint-1)*blocksize)
  elif filesize :
      #maxseekpoint = blocksize % filesize
      dat_file.seek(0, 0)
  lines =  dat_file.readlines()
  if lines :
      last_lin…</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/lrc?rev=1362980831&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-11T05:47:11+00:00</dc:date>
        <title>Python处理LRC文件</title>
        <link>http://www.pythonclub.org/python-files/lrc?rev=1362980831&amp;do=diff</link>
        <description>Python处理LRC文件

歌词模块：

	*  &lt;http://pythonhosted.org/musixmatch/index.html&gt;

	*  LRC 文件格式</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/mime-type?rev=1304403186&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-05-03T06:13:06+00:00</dc:date>
        <title>MIME邮件格式分析及信息提取</title>
        <link>http://www.pythonclub.org/python-files/mime-type?rev=1304403186&amp;do=diff</link>
        <description>MIME邮件格式分析及信息提取

摘要   MIME是目前互联网邮件普遍采用的格式标准，本文通过对MIME邮件格式规范的分析和说明，给出了从邮件中提取其所含各种信息的基本方法。

关键词   MIME、邮件、格式、信息提取</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/mime?rev=1304402330&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-05-03T05:58:50+00:00</dc:date>
        <title>Python处理MIME电子邮件格式文件</title>
        <link>http://www.pythonclub.org/python-files/mime?rev=1304402330&amp;do=diff</link>
        <description>Python处理MIME电子邮件格式文件

	*  MIME邮件格式分析及信息提取</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/pdf-calendar-orignal-ref-back?rev=1491026556&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-01T06:02:36+00:00</dc:date>
        <title>pdf_calendar.py backup</title>
        <link>http://www.pythonclub.org/python-files/pdf-calendar-orignal-ref-back?rev=1491026556&amp;do=diff</link>
        <description>pdf_calendar.py backup


#!/usr/bin/env python
&quot;&quot;&quot;Create a PDF calendar.

This script requires Python and Reportlab
( http://reportlab.org/rl_toolkit.html ). Tested only with Python 2.4 and
Reportlab 1.2.

See bottom of file for an example of usage. No command-line interface has been
added, but it would be trivial to do so. Furthermore, this script is pretty
hacky, and could use some refactoring, but it works for what it's intended
to do.

Created by Bill Mill on 11/16/05, this script is in the …</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/pdf-calendar?rev=1491026888&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-04-01T06:08:08+00:00</dc:date>
        <title>Python 使用reportlab 创建PDF格式日历</title>
        <link>http://www.pythonclub.org/python-files/pdf-calendar?rev=1491026888&amp;do=diff</link>
        <description>Python 使用reportlab 创建PDF格式日历

使用到的模块有：

	*  calendar (python self contained)
	*  reportlab

功能修改

做了下面的一些修改。

字体

在源代码里面增加了字体部分：


canvas.setFont(&quot;Times-Roman&quot;, 20)</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/pdf?rev=1388566911&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-01-01T09:01:51+00:00</dc:date>
        <title>Python PDF 文件的读写与处理</title>
        <link>http://www.pythonclub.org/python-files/pdf?rev=1388566911&amp;do=diff</link>
        <description>Python PDF 文件的读写与处理

PDF文件信息读取：pyPdf

Python读取PDF文件信息，对PDF文件进行简单的页操作，分页，合并等。

	*  &lt;http://pybrary.net/pyPdf/&gt;

创建PDF文件

ReportLab

The ReportLab Open Source PDF library (the ReportLab Toolkit) - our proven, industry-strength PDF generating software. Programmatically create any kind of PDF document.</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/pe-exe-dll?rev=1299222586&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-03-04T07:09:46+00:00</dc:date>
        <title>Python读写Windows PE（EXE，DLL）文件：pefile</title>
        <link>http://www.pythonclub.org/python-files/pe-exe-dll?rev=1299222586&amp;do=diff</link>
        <description>Python读写Windows PE（EXE，DLL）文件：pefile

pefile是一个读取window PE文件信息的模块，能够得到exe, dll等PE文件的公司、版本、导入函数、导出函数等信息。

pefile is a multi-platform Python module to read and work with Portable Executable (aka PE) files. Most of the information in the PE Header is accessible, as well as all the sections, section's information and data.</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/pe-format?rev=1299210907&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-03-04T03:55:07+00:00</dc:date>
        <title>“PE文件格式”1.9版 完整译文（附注释）</title>
        <link>http://www.pythonclub.org/python-files/pe-format?rev=1299210907&amp;do=diff</link>
        <description>“PE文件格式”1.9版 完整译文（附注释）

原著：Bernd. Luevelsmeyer                              
翻译：ah007

[注意：本译文的所有大小标题序号都是译者添加，以方便大家阅读。圆圈内的数字是注释的编号，其中注释②译自微软的《PECOFF规范》，其它译自网络。</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/py2exe-matplotlib?rev=1310656555&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-07-14T15:15:55+00:00</dc:date>
        <title>py2exe打包matplotlib发布程序</title>
        <link>http://www.pythonclub.org/python-files/py2exe-matplotlib?rev=1310656555&amp;do=diff</link>
        <description>py2exe打包matplotlib发布程序

使用py2exe打包发布matplotlib应用程序其实很简单，只需要将matplotlib的数据文件包含在内就可以了。

在setup.py文件中加入 data_files=matplotlib.get_py2exe_datafiles() 语句。


import matplotlib
...
setup(
    ...
    data_files=matplotlib.get_py2exe_datafiles(),
)</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/py2exe-wxpython?rev=1310656232&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-07-14T15:10:32+00:00</dc:date>
        <title>py2exe打包发布wxPython程序</title>
        <link>http://www.pythonclub.org/python-files/py2exe-wxpython?rev=1310656232&amp;do=diff</link>
        <description>py2exe打包发布wxPython程序

wxPython开发，去掉command line窗口以及添加icon

写python程序，一个字，“快”；再加个字“爽”。

用wxPython做local的小程序，又快又爽。可是也有美中不足的地方，例如程序运行需要装很多runtime的环境(Python, wxPython等)，这些环境通常下载不是很方便，于是python界有了py2exe，充分满足挑肥拣瘦的windows用户。</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/py2exe?rev=1275441530&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-02T01:18:50+00:00</dc:date>
        <title>Python py2exe 创建可执行文件</title>
        <link>http://www.pythonclub.org/python-files/py2exe?rev=1275441530&amp;do=diff</link>
        <description>Python py2exe 创建可执行文件

py2exe是什么？

py2exe是一种python发布工具，可以把python脚本转换成windows下的可执行程序，不需要安装python便可运行。
py2exe现在可以用来创建使用了wxPython, Tkinter, Pmw, PyGTK, pygame, win32com client and server 等模块的程序。</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/pystardict?rev=1281687628&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-13T08:20:28+00:00</dc:date>
        <title>PyStarDic源码 pystardict.py</title>
        <link>http://www.pythonclub.org/python-files/pystardict?rev=1281687628&amp;do=diff</link>
        <description>PyStarDic源码 pystardict.py


# -*- coding: utf-8 -*-
&quot;&quot;&quot;
Copyright 2008 Serge Matveenko

This file is part of PyStarDict.

PyStarDict is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

PyStarDict is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILIT…</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/qss-danci?rev=1305271691&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-05-13T07:28:11+00:00</dc:date>
        <title>Python读取轻轻松松背单词的GDS词库文件</title>
        <link>http://www.pythonclub.org/python-files/qss-danci?rev=1305271691&amp;do=diff</link>
        <description>Python读取轻轻松松背单词的GDS词库文件

《轻轻松松背单词》是一个广泛使用的背单词软件，有丰富的词库资源。读取轻轻松松背单词GDS词库文件，可以在此基础上开发背单词类软件。

Python读取GDS词库代码</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/rar?rev=1298517932&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-02-24T03:25:32+00:00</dc:date>
        <title>Python读写RAR压缩文件</title>
        <link>http://www.pythonclub.org/python-files/rar?rev=1298517932&amp;do=diff</link>
        <description>Python读写RAR压缩文件

Python使用rarfile模块读取rar文件

Python读取RAR文件可以使用rarfile这个模块，rarfile目前最新版本是2.2。

rarfile支持下面的一些特性：

	*  支持rar 2 和 rar 3 版本压缩算法
	*  支持多卷压缩</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/sqlite?rev=1275441530&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-02T01:18:50+00:00</dc:date>
        <title>Python SQLite 编程</title>
        <link>http://www.pythonclub.org/python-files/sqlite?rev=1275441530&amp;do=diff</link>
        <description>Python SQLite 编程

SQLite 是个轻量级的数据库系统，无需系统服务，只有一个db文件，可移植性很好。

如果有大量数据需要处理的话是个很好的选择。

SQLite 安装

Windows下使用Python2.5版本可以直接使用。</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/stardict-format?rev=1281710421&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-13T14:40:21+00:00</dc:date>
        <title>StarDict Dictionary Format</title>
        <link>http://www.pythonclub.org/python-files/stardict-format?rev=1281710421&amp;do=diff</link>
        <description>StarDict Dictionary Format


Format for StarDict dictionary files
------------------------------------

StarDict homepage: http://stardict.sourceforge.net
StarDict on-line dictionary: http://www.stardict.org

{0}. Number and Byte-order Conventions
When you record the numbers that identify sizes, offsets, etc., you
should use 32-bits numbers, such as you might represent with a glong.

In order to make StarDict work on different platforms, these numbers
must be in network byte order.  You can ensu…</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/stardict?rev=1303217254&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-04-19T12:47:34+00:00</dc:date>
        <title>Python读取StarDict(星际译王)字典</title>
        <link>http://www.pythonclub.org/python-files/stardict?rev=1303217254&amp;do=diff</link>
        <description>Python读取StarDict(星际译王)字典

StarDict一个跨平台开放的词典软件，支持Linux、Windows等系统。此外StarDict有很多词典可以下载，这些StarDict词典都是免费的，而且是开放格式的。下面我们就来介绍用Python读取StarDict字典内容。</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/start?rev=1522813983&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-04-04T03:53:03+00:00</dc:date>
        <title>Python 常见文件操作</title>
        <link>http://www.pythonclub.org/python-files/start?rev=1522813983&amp;do=diff</link>
        <description>Python 常见文件操作

Python文件存储

	*  python核心模块之pickle和cPickle讲解

Python读写标准文本文件

	*  Python 文件处理基础
	*  Python读写二进制文件
	*   ini 文件处理
	*   html 文件处理
		*  得到HTML指定ID的内容

	*   xml 文件处理
	*   CSV文件读写
	*  使用Python合并多个CSV文件为Excel xlsx文件
	*  Python 读取文件的最后一行
	*  Pandoc/Pypandoc

Python读写Office文档

	*  excel文件读写
	*   word 文件读写

Python读写数据库文件

	*  sqlite 数据库操作
	*  Python 读取DBF/FPT 文件
	*  Python读取纯真IP数据库
	*  Python读取StarDict(星际译王)字典
	*  Python读取轻轻松松背单词的GDS词库文件

Python读写标准格式文件…</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/txt2jpg?rev=1461680659&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-26T14:24:19+00:00</dc:date>
        <title>Python 文字/文本转图片</title>
        <link>http://www.pythonclub.org/python-files/txt2jpg?rev=1461680659&amp;do=diff</link>
        <description>Python 文字/文本转图片

参考

	*  &lt;http://oldj.net/article/text-to-image/&gt;
	*  &lt;http://blog.csdn.net/handsomekang/article/details/37990089&gt;</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/word?rev=1275441530&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-02T01:18:50+00:00</dc:date>
        <title>Python 读取/写入 Word 文档</title>
        <link>http://www.pythonclub.org/python-files/word?rev=1275441530&amp;do=diff</link>
        <description>Python 读取/写入 Word 文档</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/xml?rev=1275441530&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-02T01:18:50+00:00</dc:date>
        <title>Python 处理 XML 文档</title>
        <link>http://www.pythonclub.org/python-files/xml?rev=1275441530&amp;do=diff</link>
        <description>Python 处理 XML 文档</description>
    </item>
    <item rdf:about="http://www.pythonclub.org/python-files/zip?rev=1282036855&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-08-17T09:20:55+00:00</dc:date>
        <title>Python读写zip压缩文件</title>
        <link>http://www.pythonclub.org/python-files/zip?rev=1282036855&amp;do=diff</link>
        <description>Python读写zip压缩文件

Python自带模块zipfile可以完成zip压缩文件的读写，而且使用非常方便，下面我们就来演示一下Python读写zip文件。

Python读zip文件

下面的代码给出了用Python读取zip文件，打印出压缩文件里面所有的文件，并读取压缩文件中的第一个文件。</description>
    </item>
</rdf:RDF>
