On Thu, 11 Aug 2011, Ryan Roser wrote:

I think the problem is with how you're referencing the row from indata.

Ryan,

  Yep. That's what I needed to get straight.

... I'd get rid of i and j and replace the for loop with the following:

for row in indata:
   for parm, rowval in zip(parmlist,row[1:]):
       outdata.writerow([loc, row[0], parm, rowval])

  That does solve the problem.

Thanks very much,

Rich
_______________________________________________
Portland mailing list
[email protected]
http://mail.python.org/mailman/listinfo/portland

Reply via email to