Parse CSV Contacts stub

This commit is contained in:
Jeff Moe 2024-09-19 12:03:24 -06:00
parent d3db7ff5b2
commit 9466b2a74d

View file

@ -0,0 +1,14 @@
#!/usr/bin/env python3
''' Read CSV contacts file exported from hubspot.'''
import csv
CSV="all-contacts.csv"
print("Parsing" + CSV)
with open(CSV, newline='') as csvfile:
contactreader = csv.reader(csvfile, delimiter=',', quotechar='"')
for row in contactreader:
print(', '.join(row))