简体   繁体   中英

How to change a .dbf file AND its associated .mdx file with Python?

I want to delete some rows of a .dbf file. It's clear for me how to do this with Python for example with the dbf-module. However, the .dbf file has an index .mdx file associated with it. If I change the .dbf file, how can I change its associated .mdx file accordingly? Is this functionality supported by the .dbf module? If not, how can I do this?

Thanks in advance.

The dbf * library in question does not support index files of any type. If you have access to the original program you could use it to rebuild the indices after you modify the .dbf file itself.


*Disclosure: I am the author of the dbf library.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM