Skip to content

Instantly share code, notes, and snippets.

@xiantail
Last active December 25, 2015 00:25
Show Gist options
  • Save xiantail/1854c4f66bdc63d676ec to your computer and use it in GitHub Desktop.
Save xiantail/1854c4f66bdc63d676ec to your computer and use it in GitHub Desktop.
Introducing Python / Exercise 8.4 - source cvs file (good example:books2.csv, bad example:books.csv)
author book
J R R Tolkien The Hobbit
Lynne Truss Eats, Shoots & Leaves
author book
J R R Tolkien The Hobbit
Lynne Truss Eats, Shoots & Leaves
@xiantail
Copy link
Author

The only difference was that I inserted a space just after comma in books.csv. After removing those spaces like books2.csv, it works fine as described in the book.

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