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". _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )