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