Re: Joining data from three different files to be written into three Columns

2006-12-03 Thread Dawn Abbott
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')

Re: Joining data from three different files to be written into three Columns

2006-12-02 Thread Dawn Abbott
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

Re: Joining data from three different files to be written into three Columns

2006-11-29 Thread Dawn Abbott
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

Re: Joining data from three different files to be written into three Columns

2006-11-29 Thread Gabriel Genellina
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

Joining data from three different files to be written into three Columns

2006-11-29 Thread Dawn Abbott
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