source: trunk/anuga_work/development/Rudy_vandrie_2007/blackbutt/make_csv.py @ 7924

Last change on this file since 7924 was 4441, checked in by ole, 18 years ago

Work with Rudy and Ted 9 May 20007

File size: 273 bytes
Line 
1import string
2
3infid = open('ALL_Grd_Bui_Comb_Smth_Rds_XYZPts_only.txt')
4outfid = open('ALL_Grd_Bui_Comb_Smth_Rds_XYZPts_only.csv', 'w')
5
6for line in infid.readlines():
7    fields = line.split()
8    outfid.write(string.join(fields, ',')+'\n')
9
10outfid.close()   
Note: See TracBrowser for help on using the repository browser.