Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created January 6, 2020 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecademydev/b1ceac452d5f8d865585c164f4bf97f4 to your computer and use it in GitHub Desktop.
Save codecademydev/b1ceac452d5f8d865585c164f4bf97f4 to your computer and use it in GitHub Desktop.
Codecademy export
import csv
with open("books.csv") as books_csv:
books_reader = csv.DictReader(books_csv, delimiter='@')
isbn_list = []
for book in books_reader:
isbn_list.append(book['ISBN'])
print(isbn_list)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment