Re: processing input from multiple files

2010-10-15 Thread Christopher Steele
ot;+c+"-"+c+str(direction)+c print newline4 dir_out+=newline4+'\n' fout = open(foutname4,'w') fout.writelines(dir_out) fout.close() newline5 = message_type+c+str(station_id)+c+newtime+c+lat+c+lon+c+c+"-"+c+ "032&quo

Re: processing input from multiple files

2010-10-14 Thread Christopher Steele
cloud observations are going to follow - something that is not always reported at stations. I hope this has helped Chris On Thu, Oct 14, 2010 at 3:16 PM, John Posner wrote: > On 10/14/2010 6:08 AM, Christopher Steele wrote: > >> Hi >> >> I've been trying to decode a se

processing input from multiple files

2010-10-14 Thread Christopher Steele
Hi I've been trying to decode a series of observations from multiple files (each file is a different time) and put each type of observation into their own separate file. The script runs successfully for one file but whenever I try it for more they just overwrite each other. I'm new to python and I