<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/dbfpy/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/dbfpy/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/dbfpy/feature-requests/</id><updated>2010-12-11T23:15:31Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>Read FPT files</title><link href="https://sourceforge.net/p/dbfpy/feature-requests/3/" rel="alternate"/><published>2010-12-11T23:15:31Z</published><updated>2010-12-11T23:15:31Z</updated><author><name>Cristian Sebastian Rocha</name><uri>https://sourceforge.net/u/csrocha/</uri></author><id>https://sourceforge.net186f9d33814e645f2bf6a771ede770c31de41fa3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;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:&lt;/p&gt;
&lt;p&gt;table = dbf.Dbf (dbf_filename, fpt_file = open ('table.FPT'))&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>exception decoding ^@ padded numeric field</title><link href="https://sourceforge.net/p/dbfpy/feature-requests/2/" rel="alternate"/><published>2009-05-25T13:12:11Z</published><updated>2009-05-25T13:12:11Z</updated><author><name>Mario Frasca</name><uri>https://sourceforge.net/u/mfrasca/</uri></author><id>https://sourceforge.net7935384f840cbc644f5ef788840dcfa1a0a4839c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;we've got a dbf where numeric fields are padded with &amp;lt;NUL&amp;gt; characters.  on these the library crashes:&lt;/p&gt;
&lt;p&gt;File "/usr/local/lib/python2.6/dist-packages/dbfpy/fields.py", line 240, in decodeValue&lt;br /&gt;
# a float (has decimal separator)&lt;br /&gt;
ValueError: null byte in argument for float()&lt;/p&gt;
&lt;p&gt;I would add this line just after stripping the value, before converting it to float/integer:&lt;br /&gt;
value = value.replace('\0', '')&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Delete Fields</title><link href="https://sourceforge.net/p/dbfpy/feature-requests/1/" rel="alternate"/><published>2008-02-25T22:32:15Z</published><updated>2008-02-25T22:32:15Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netf786fde20b0cb4d085ac1a05737f1aae8a47be10</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Not sure if anyone is working on this still, but it would be useful to be able to delete fields from a dbf file. I looked through the source files and only saw addFields and delete records methods...no delete fields. &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>