<br><br><div><span class="gmail_quote">On 11/29/06, <b class="gmail_sendername">Dawn Abbott</b> <<a href="mailto:whiterabbott@gmail.com">whiterabbott@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have three files of binary data.  I want to write the three
binary data files to one file.  I want the old files to each have
their own column in the new file.  This is what I have, <br>
<br>
f=open('relative_x.INT32','rb')<br>
a=array('l')<br>
a.fromfile(f,10)<br>
g=open('relative_y.INT32','rb')<br>
b=array('l')<br>
b.fromfile(g,10)<br>
data=zip(a,b)<br>
for datum in data:<br>
...    print ' '.join(datum)<br>
...<br>
<br>
<br>
the error I get is expected string, found int<br>
I figure that the joint is for strings only does anyone know of a way were I could join the data that would be for ints.<br>
Thanks<br><span class="sg">
Dawn<br>
<br>

</span></blockquote></div><br>