On Feb 12, 6:47 am, "mech point" <[EMAIL PROTECTED]> wrote:
> I was able to read the data from file into a two dimensional array
> (lists)
>
> rows=[map(float,line.split())for line in file("data")]
>
> but How to write them back into the file.

Using matplotlib it will be:

import pylab
rows = pylab.load('src.dat')
pylab.save(rows, 'dst.dat')



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to