I need to read each csv file from a predefined dir, for each csv in that dir I need to take each row and write it to a new csv file. Currently, I have this code snippet that reads a specific csv file and loops on each row.
import csv
with open('E:\EE\EE\TocsData\CSAT\csat_20140331.csv', 'rb') as csvfile:
    reader = csv.reader(csvfile, delimiter=',', quotechar='|')
    for row in reader:
        # write row to a seperate csv file
 
     
     
    