Differences between revisions 1 and 11 (spanning 10 versions)
Revision 1 as of 2005-02-04 03:06:47
Size: 506
Editor: ZoomQuiet
Comment:
Revision 11 as of 2005-03-11 03:18:01
Size: 1171
Editor: dfar
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
'''
= 文章大标 =
''简述''
== 章标题1 ==
'''可敬的 潘俊勇 居士百忙中发现的,在下也刚好在频率操作文件,所以翻译之!贡献之!'''
 * [http://nocache.czug.org/blog/panjunyong/python-file-manage Python的文件操作]
Line 13: Line 11:
=== 小节标题1 ===
{{{
#!python
Python code
}}}
= File Management in Python =
Line 19: Line 13:
==== 次节标题1 ====
xxx
== 介绍 ==
[[Include(/Introduction)]]
Line 22: Line 16:
== 章标题2 == == 获得外部文件信息 ==
[[Include(/GettingInformation)]]
Line 24: Line 19:
=== 小节标题2 ===
{{{
其它
代码引用
}}}
== 目录处理 ==
[[Include(/Directories)]]
== 序列化数据 ==
[[Include(/PicklingData)]]
== 创立内存文件 ==
[[Include(/CreatingInMemory)]]
Line 30: Line 26:
==== 次节标题2 ====
yyy
== 撰写团队 ==

= 反馈 =

a small tip: 用{{{print >>f, a_string}}}可以替代{{{f.write(a_string + '\n')}}}。更直观些。 -- QiangningHong 2005/03/11

error: cStringIO module里没有cStringIO方法,应该和StringIO module里的一样,是StringIO().代码:fileHandle = cStringIO.StringIO("to kill a mockingbird") -- dfar

http://ads.developershed.com/articleboxes/devshedtitle.gif

-- ZoomQuiet [DateTime(2005-02-04T03:06:47Z)] TableOfContents 可敬的 潘俊勇 居士百忙中发现的,在下也刚好在频率操作文件,所以翻译之!贡献之!

File Management in Python

介绍

Include(/Introduction)

获得外部文件信息

Include(/GettingInformation)

目录处理

Include(/Directories)

序列化数据

Include(/PicklingData)

创立内存文件

Include(/CreatingInMemory)

撰写团队

反馈

a small tip: 用print >>f, a_string可以替代f.write(a_string + '\n')。更直观些。 -- QiangningHong 2005/03/11

error: cStringIO module里没有cStringIO方法,应该和StringIO module里的一样,是StringIO().代码:fileHandle = cStringIO.StringIO("to kill a mockingbird") -- dfar

FileManagementInPython (last edited 2009-12-25 07:16:25 by localhost)