Write \x1a to binary file
Martin v. Loewis
martin at v.loewis.de
Mon Jul 15 15:03:58 EDT 2002
"Harald Schneider" <h_schneider at marketmix.com> writes:
> I've got a problem with writing "\x1A" to a binary file on Win32 platform.
> I think due tue an issue wiht popen() this terminates the output stream. Is
> there any solution for this ?
I think there is some win32 module that allows you to set the default
open mode for files to "binary".
Regards,
Martin
More information about the Python-list
mailing list