On Jul 16, 7:54 pm, [EMAIL PROTECTED] wrote: > On Jul 16, 3:23 pm, Grant Edwards <[EMAIL PROTECTED]> wrote: > > > > > > > On 2007-07-16, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > >> Have you tried to open the file in "wb" mode? > > > > The data is coming from a record set selection from the Access > > > database. I guess I could write the data to a temp file and > > > open that file handle with the "wb" mode. But, no, I haven't > > > tried that. > > > I think you missed the point. > > > When you want to write the binary data to a file, you must open > > the destination file using "wb" mode. It's binary data, not > > text data, so you have to open the output file in binary mode. > > > -- > > Grant Edwards grante Yow! Is my fallout > > shelter > > at termite proof? > > visi.com > > I did miss the point. I will give that a shot. Thanks Carsten and Grant- Hide > quoted text - > > - Show quoted text -
This worked fantastically. Thanks! -- http://mail.python.org/mailman/listinfo/python-list