Jan-11-2018, 09:11 PM
My apologies for the format issue guys. My first post. Mpd,the trace back is to the code: outfile.write(row[indx]). Wavic, you are correct the csv reader is exhausted in the first for reader loop, but after hours of searching online I found a thread with the .seek(0) method. Best I can tell it resets the file to the top so that the reader can be iterated over again. And it works.
After drawing a diagram of the code last night I am certain that there are too many "for" loops in the last for statement.
After drawing a diagram of the code last night I am certain that there are too many "for" loops in the last for statement.