hsparse/hsparse/parse_csv_contacts.py
2024-09-19 12:03:24 -06:00

15 lines
307 B
Python

#!/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))