On 2007-02-12, 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.
for r in rows: file.write(" ".join(map(str,r)) + "\n") -- Grant Edwards grante Yow! My nose feels like a at bad Ronald Reagan movie... visi.com -- http://mail.python.org/mailman/listinfo/python-list