Menu

#3 Read FPT files

open
nobody
None
5
2013-01-15
2010-12-11
No

Hello,

I've been adding code to allow reading files FPT. Here I attached the diff. To use it you just have to start the Dbf object as follows:

table = dbf.Dbf (dbf_filename, fpt_file = open ('table.FPT'))

The only problem I can bring problem is if the file block size is different to 64. There needs to be altered set_ftp function.

Discussion

  • Cristian Sebastian Rocha

     
  • Aleksandr Smyshliaev

    from your code i understand that the first data block in memo file with blocksize 64 has number 9. is that correct?

     

Log in to post a comment.