<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/dbfpy/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/dbfpy/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 11 Dec 2010 23:15:31 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/dbfpy/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>Read FPT files</title><link>https://sourceforge.net/p/dbfpy/feature-requests/3/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cristian Sebastian Rocha</dc:creator><pubDate>Sat, 11 Dec 2010 23:15:31 -0000</pubDate><guid>https://sourceforge.net186f9d33814e645f2bf6a771ede770c31de41fa3</guid></item><item><title>exception decoding ^@ padded numeric field</title><link>https://sourceforge.net/p/dbfpy/feature-requests/2/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mario Frasca</dc:creator><pubDate>Mon, 25 May 2009 13:12:11 -0000</pubDate><guid>https://sourceforge.net7935384f840cbc644f5ef788840dcfa1a0a4839c</guid></item><item><title>Delete Fields</title><link>https://sourceforge.net/p/dbfpy/feature-requests/1/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 25 Feb 2008 22:32:15 -0000</pubDate><guid>https://sourceforge.netf786fde20b0cb4d085ac1a05737f1aae8a47be10</guid></item></channel></rss>