Skip to content

Instantly share code, notes, and snippets.

@samrat
Created July 19, 2012 16:51
Show Gist options
  • Save samrat/3145260 to your computer and use it in GitHub Desktop.
Save samrat/3145260 to your computer and use it in GitHub Desktop.
Python file to convert Goodreads-exported CSV to markdown friendly list
import csv
books = csv.reader(open('goodreads_export.csv', 'rb'))
output_file = open('books.md', 'a')
for row in books:
if 'read' in row:
output = "- **"+row[1]+"** by " + row[2] + "\n"
output_file.write(output)
print outpu
@gwern
Copy link

gwern commented Sep 11, 2013

Incidentally, I've written a GoodReads CSV-Markdown compiler using Pandoc; you can see the results here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment