日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > python >内容正文

python

python批量读取dbf_Python 读取DBF/FPT 文件

發布時間:2025/3/13 python 24 豆豆
生活随笔 收集整理的這篇文章主要介紹了 python批量读取dbf_Python 读取DBF/FPT 文件 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

FPT文件是FoxPro存儲備注信息的文件。

The file format is used by Fox Pro 2.x and later The size of the header is 512 bytes

_______________________ _______

00h / 0 | Number of next | ^

00h / 1 | available block | |

00h / 2 | for appending data | Header

00h / 3 | (binary) *1| |

|-----------------------| |

00h / 4 | ( Reserved ) | |

00h / 5 | | |

|-----------------------| |

00h / 6 | Size of blocks N *1| |

00h / 7 | *2| |

|-----------------------| |

00h / 8 | ( Reserved ) | |

| | |

| | |

| (i.e. garbage) | |

: : |

: : |

00h / 511| | |

|=======================| _v_____

00h / 0| | ^ Used block

| | | __ |=======================|

| | | / 0| Record type *3|

: : | / 1| *1|

: : | / 2| |

| | | / 3| |

00h / N| | | / |-----------------------|

|=======================| _|_____/ 4| Length of memo field |

00h / 0| | | 5| *1|

: : | 6| |

: : | 7| |

| | | |-----------------------|

00h / N| | _|_____ 8| Memo data |

|=======================| | \ : :

0| | | \ N| |

| | | \_____ |=======================|

| | |

: : |

00h / N| | _v_____

|=======================|

Big-endian. Binary value with high byte first.

Size of blocks in memo file (SET BLOCKSIZE). Default is 512 bytes.

Record type

Value Description

00h Picture. This normally indicates that file is produced on a MacIntosh, since pictures on the DOS/Windows platform are "objects".

01h Memo

02h Object

A memo field can be longer than the 512 byte block. It simply continues through the next block. The field is logically terminated by two End-of-file marks in the field. The reminder of the block is unused.

總結

以上是生活随笔為你收集整理的python批量读取dbf_Python 读取DBF/FPT 文件的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。