Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
from glob import glob
for file in glob("*.csv"):
infile = open( file, 'r' )
lines = infile.readlines()
infile.close()
for line in lines:
// read the data
// operations on data, result stored in a list
outfile = open( outputFileName , 'w' )
for outputLine in list:
outfile.write(outputLine)
outfile.close()