<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:12pt"><br><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">&gt; The docs say<br>&gt;<br>&gt; "write( str) - Write a string to the file."<br>&gt;<br>&gt; Only a string. Regardless of mode. <br>&gt; Mode mostly affects interpretation of line ends.<br><br>Thats true of course, you need to encode the binary <br>data with struct to write it as binary.<br><br>Alan G.<br></div></div>
<!-- cg1.c241.mail.ird.yahoo.com compressed/chunked Fri Dec 25 06:03:23 PST 2009 -->
</div></body></html>