Re: [DB-SIG] dbf files and compact indices

2013-11-08 Thread Paul Hemans
If you can read c code, have a look at the Harbour (clipper) open source project. It works with CDX files. -- https://mail.python.org/mailman/listinfo/python-list

Re: [DB-SIG] dbf files and compact indices

2010-09-19 Thread Ethan Furman
M.-A. Lemburg wrote: If you are working on Windows, you can install the MS MDAC package to get a hold of the MS FoxPro ODBC drivers. They are usually already installed in Vista and 7, in XP they comes with MS SQL Server and MS Office as well. mxODBC can then provide Python access on Windows, mxOD

Re: [DB-SIG] dbf files and compact indices

2010-09-19 Thread M.-A. Lemburg
Ethan Furman wrote: > Carl Karsten wrote: >> On Sat, Sep 18, 2010 at 11:23 PM, Ethan Furman >> wrote: >>> Thanks for the suggestion, but I don't want to be tied to Foxpro, which >>> means I need to be able to parse these files directly. I have the dbf >>> files, now I need the idx and cdx files

Re: [DB-SIG] dbf files and compact indices

2010-09-18 Thread Ethan Furman
Carl Karsten wrote: On Sat, Sep 18, 2010 at 11:23 PM, Ethan Furman wrote: Thanks for the suggestion, but I don't want to be tied to Foxpro, which means I need to be able to parse these files directly. I have the dbf files, now I need the idx and cdx files. What do you mean "tied" ? I mea

Re: [DB-SIG] dbf files and compact indices

2010-09-18 Thread Ethan Furman
Dennis Lee Bieber wrote: On Sat, 18 Sep 2010 10:44:06 -0700, Ethan Furman declaimed the following in gmane.comp.python.general: I have a pure-python module to read db3 and vfp 6 dbf files, and I find that I need to read (and write) the idx and cdx index files that foxpro generates. We are i

Re: [DB-SIG] dbf files and compact indices

2010-09-18 Thread Carl Karsten
On Sat, Sep 18, 2010 at 11:23 PM, Ethan Furman wrote: > Vernon Cole wrote: >> >> Ethan: >> I cannot see where you mentioned your operating system, I am assuming >> Windows. >> >> Perhaps you have already investigated this ... I have no way to test it >> ... but you might try: >> ADO can access alm

Re: [DB-SIG] dbf files and compact indices

2010-09-18 Thread Ethan Furman
Vernon Cole wrote: Ethan: I cannot see where you mentioned your operating system, I am assuming Windows. Perhaps you have already investigated this ... I have no way to test it ... but you might try: ADO can access almost any data source, and a quick look seems to show that .dbf is supported

Re: [DB-SIG] dbf files and compact indices

2010-09-18 Thread Ethan Furman
Carl Karsten wrote: On Sat, Sep 18, 2010 at 11:16 AM, Ethan Furman wrote: Carl Karsten wrote: On Sat, Sep 18, 2010 at 1:11 AM, Ethan Furman wrote: Does anybody have any pointers, tips, web-pages, already written routines, etc, on parsing *.cdx files? I have found the pages on MS's sight

Re: [DB-SIG] dbf files and compact indices

2010-09-18 Thread Carl Karsten
On Sat, Sep 18, 2010 at 11:16 AM, Ethan Furman wrote: > Carl Karsten wrote: >> >> On Sat, Sep 18, 2010 at 1:11 AM, Ethan Furman wrote: >> >>> Does anybody have any pointers, tips, web-pages, already written >>> routines, >>> etc, on parsing *.cdx files?  I have found the pages on MS's sight for >

Re: [DB-SIG] dbf files and compact indices

2010-09-18 Thread Ethan Furman
Carl Karsten wrote: On Sat, Sep 18, 2010 at 1:11 AM, Ethan Furman wrote: Does anybody have any pointers, tips, web-pages, already written routines, etc, on parsing *.cdx files? I have found the pages on MS's sight for Foxpro, but they neglect to describe the compaction algorithm used, and my