solution found; Thank you!

A. Jones netzapper at magicstar.net
Tue Apr 2 11:56:12 EST 2002


On 02 Apr 2002 17:08:36 +0200, loewis at informatik.hu-berlin.de (Martin
v. =?iso-8859-1?q?L=F6wis?=) wrote:

>netzapper at magicstar.net (A. Jones) writes:
>
>> Any insight would be much appreciated.
>
>Seeking and text mode does not really mix well. When you write to a
>text file, the C library may expand or collapse newline characters,
>and perform other modifications. So if you write n bytes to a text
>file, that doesn't mean that n bytes end on disk.
>
>I recommend to open the file in binary.
>
>Regards,
>Martin
>

Thank you, you put me on the right track.  file("QOD.qdb", 'ab') is
working perfectly.

Your help was much appreciated, Martin


-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
   http://www.newsfeeds.com       The Largest Usenet Servers in the World!
------== Over 100,000 Newsgroups - Ulimited downloads - 19 servers ==-----



More information about the Python-list mailing list