writing to a binary file without intervening spaces

Paul Rubin http
Tue Mar 18 03:50:46 EDT 2008


Larry <larry.cebuala at gmail.com> writes:
> I even went further to opening the file using notepad, and did a
> search-and-replace for space characters. The result was what I
> desired: data,data,data...

In Windows, you also have to make sure to open binary files in binary
mode.



More information about the Python-list mailing list