Created
July 24, 2017 17:28
-
-
Save munk/898fcf68fe60584b6e030f27afd650c1 to your computer and use it in GitHub Desktop.
This file contains 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
import csv | |
filename = '/full/path/tofile/' | |
with open(filename, 'rb') as csvfile: | |
reader = csv.reader(csvfile, delimiter=' ', quotechar='|') | |
result = [row for row in reader if 'N/A' in reader] | |
print result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment