just a question, I was trying to write selected rows from a .csv file to a new .csv file, but there is an error.
The test.csv file that I was trying to read is like this
Use string.find or regular expressions to find a substring in a string.
So instead of
if (rad_line.has_key('2014')):
you can do:
if (rad_line.find('2014') <> -1):