-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tino Wildenhain wrote:
> John Toews schrieb:
>
>>Thanks Tino, I'll definately give that a try too. The quick fix seemed
>>to be opening the file for read in binary mode... that should have been
>>obvious. Posting another dumb question to the list now. ;)
>
>
> no, dot use a regular file! Use the tempfile module!
> And dont reopen but seek to the start - f.seek(0)
> You just open it for "rw".