Skip to content

Instantly share code, notes, and snippets.

@nosklo
Forked from beauvais/gist:1901080
Created February 24, 2012 14:01
Show Gist options
  • Save nosklo/1901103 to your computer and use it in GitHub Desktop.
Save nosklo/1901103 to your computer and use it in GitHub Desktop.
partial email match
#! /usr/bin/python
import sys
import csv
open('out.csv', 'wb').writelines(line for line in open('in.csv', 'rb') if "@gmail.com" in line)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment