Everything works in my program except for when it prints out the number is
surrounded by brackets but I need to print the number without the brackets.
Does anyone know an easy way to do this?
#!/usr/bin/env python
import array
fin = open('relative_x.INT32','rb')
fin1=open('relative_y.INT32','rb')
On 11/29/06, Dawn Abbott <[EMAIL PROTECTED]> wrote:
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,
f=open('relative_x.INT32','rb')
a=array('l')
a.fromfile(f,1
No, two of the binary data files are integers and the third file is a
float. The data is large and the binary saves time and space.
On 11/29/06, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
At Wednesday 29/11/2006 23:07, Dawn Abbott wrote:
>I have three files of binary data. I want to write
At Wednesday 29/11/2006 23:07, Dawn Abbott wrote:
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,
f=open('relative_x.INT32','rb')
a=array('l')
a.fromfile(f,1
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,
f=open('relative_x.INT32','rb')
a=array('l')
a.fromfile(f,10)
g=open('relative_y.INT32','rb')
b=array('l')
b.from