Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (5 sloc) 165 Bytes
from csv_parser import Csv
import sys
inf = sys.argv[1]
outf = inputf + '.transposed'
print >> open(outf, 'w'), '\n'.join(','.join(d) for d in Csv(inf, ',').data)