Skip to content

Instantly share code, notes, and snippets.

@thilohuellmann
Created June 12, 2018 11:33
Show Gist options
  • Save thilohuellmann/7e61162b755d349a9dc5838cffe99377 to your computer and use it in GitHub Desktop.
Save thilohuellmann/7e61162b755d349a9dc5838cffe99377 to your computer and use it in GitHub Desktop.
medium2
def addresses_from_csv(path=None, column=None):
addresses = []
with open(path, 'r') as f:
reader = csv.reader(f)
for row in reader:
addresses.append(row[column])
return addresses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment