Re: [Numpy-discussion] Savetxt usage question

2009-05-17 Thread Gökhan SEVER
Thanks for the quick reply. Exact solution ! Gökhan On Sun, May 17, 2009 at 6:57 PM, Michael S. Gilbert < michael.s.gilb...@gmail.com> wrote: > fid = open( 'file' , 'w' ) > fid.write( 'header\n' ) > savetxt( fid , data ) > fid.close() > > On Sun, 17 May 2009 18:54:33 -0500 Gökhan SEVER wrote:

Re: [Numpy-discussion] Savetxt usage question

2009-05-17 Thread Michael S. Gilbert
fid = open( 'file' , 'w' ) fid.write( 'header\n' ) savetxt( fid , data ) fid.close() On Sun, 17 May 2009 18:54:33 -0500 Gökhan SEVER wrote: > Hello, > > Is there a way to write a header information to a text file using savetxt > command besides dumping arrays in the same file? > > In little det

[Numpy-discussion] Savetxt usage question

2009-05-17 Thread Gökhan SEVER
Hello, Is there a way to write a header information to a text file using savetxt command besides dumping arrays in the same file? In little detailed fashion: I have to write a few long column of arrays into a text file. While doing that I need to put some information regarding to the context of t