Dbase / foxpro文件 [英] Dbase / foxpro files

查看:89
本文介绍了Dbase / foxpro文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有用于从Python读取/修改db文件的模块?

感谢您的帮助

B.

Is there a module for reading/modifing db files from Python?
Thanks for help
B.

推荐答案

Johny写道:
Johny wrote:

是否有用于从Python读取/修改db文件的模块?
Is there a module for reading/modifing db files from Python?



Raymond Hettinger有一个食谱:

http://aspn.activestate.com/ASPN/Coo.../Recipe/362715


Peter

There is a recipe by Raymond Hettinger:

http://aspn.activestate.com/ASPN/Coo.../Recipe/362715

Peter


Johny写道:
Johny wrote:

是否有用于读取/修改db文件的模块Python?

感谢您的帮助

B.
Is there a module for reading/modifing db files from Python?
Thanks for help
B.



我有一个模块 - 我是这些天要开始释放其中一个

:-) - 允许读取dBase III,dBase IV和Foxpro

文件(仅按顺序,不随机)并按顺序写出dBaseIII文件

。索引文件(如果有的话)被忽略。


支持阅读的字段类型:

C字符

D日期

浮点数

I整数(32位)

L逻辑
M备忘录(存储在.DBT(dBase)或。 FPT(FoxPro)文件)

N数

时间


写入仅支持带有C,D,L和N的dBaseIII领域,但可以很容易地扩展(我从来没有需要)。没有索引文件

写的。


如果你有兴趣,请发电子邮件给我。


干杯,

John

I have a module -- which I''m going to get around to releasing one of
these days :-) -- which allows to read dBase III, dBase IV and Foxpro
files (sequentially only, not randomly) and to write dBaseIII files
sequentially. Index files if any are ignored.

Field types supported for reading:
C character
D date
F float
I integer (32 bits)
L logical
M memo (stored in a .DBT (dBase) or .FPT (FoxPro) file)
N number
T time

Writing supports only dBaseIII with C, D, L and N fields, but could be
extended easily enough (I''ve never had the need). No index files are
written.

E-mail me if you are interested.

Cheers,
John


5月15日,5:21 * pm,John Machin< sjmac ... @ lexicon.netwrote:
On May 15, 5:21*pm, John Machin <sjmac...@lexicon.netwrote:

Johny写道:
Johny wrote:

是否有用于从Python读取/修改db文件的模块?

感谢您的帮助

B.
Is there a module for reading/modifing db files from Python?
Thanks for help
B.



我有一个模块 - 我将要解决其中一个模块

这些天:-) - 允许读取dBase III,dBase IV和Foxpro

文件(按顺序,不随机)和写入dBaseIII文件
顺序。索引文件(如果有的话)被忽略。


支持阅读的字段类型:

C字符

D日期

浮点数

I整数(32位)

L逻辑
M备忘录(存储在.DBT(dBase)或。 FPT(FoxPro)文件)

N数

时间


写入仅支持带有C,D,L和N的dBaseIII领域,但可以很容易地扩展(我从来没有需要)。没有索引文件

写的。


如果你有兴趣,请发电子邮件给我。


干杯,< br $>
约翰


I have a module -- which I''m going to get around to releasing one of
these days :-) -- which allows to read dBase III, dBase IV and Foxpro
files (sequentially only, not randomly) and to write dBaseIII files
sequentially. Index files if any are ignored.

Field types supported for reading:
C character
D date
F float
I integer (32 bits)
L logical
M memo (stored in a .DBT (dBase) or .FPT (FoxPro) file)
N number
T time

Writing supports only dBaseIII with C, D, L and N fields, but could be
extended easily enough (I''ve never had the need). No index files are
written.

E-mail me if you are interested.

Cheers,
John



你好约翰,

是的,我感兴趣。是否可以下载模块?

谢谢

Lad

Hello John,
Yes, I am interested. Is it possible to download the module?
Thanks
Lad


这篇关于Dbase / foxpro文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆