Created
February 24, 2012 13:55
-
-
Save beauvais/1901080 to your computer and use it in GitHub Desktop.
partial email match
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python | |
import sys | |
import csv | |
import re | |
csv.writer(open('out.csv', 'wb'),).writerows(row for row in csv.reader(open('in.csv', 'rb')) if len(row) >= 6 and "gmail" in row[5]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment