<s> import csv <EOL> '''<STR_LIT>''' <EOL> csvfile = open ( "<STR_LIT>" , "<STR_LIT:r>" ) <EOL> reader = csv . reader ( csvfile ) <EOL> outfile = open ( "<STR_LIT>" , "<STR_LIT:w>" ) <EOL> writer = csv . writer ( outfile ) <EOL> writer . writerow ( [ '<STR_LIT>' , '<STR_LIT:start>' , '<STR_LIT>' ] ) <EOL> for row in reader : <EOL> column = row [ <NUM_LIT:1> ] <EOL> start = row [ <NUM_LIT:2> ] <EOL> length = row [ <NUM_LIT:3> ] <EOL> line = column , start , length <EOL> writer . writerow ( line ) <EOL> csvfile . close ( ) <EOL> outfile . close ( ) </s>
