Skip to content

Instantly share code, notes, and snippets.

@jorge-lavin
Created August 11, 2014 11:37
Show Gist options
  • Save jorge-lavin/66129ba94b4dffde04b1 to your computer and use it in GitHub Desktop.
Save jorge-lavin/66129ba94b4dffde04b1 to your computer and use it in GitHub Desktop.
import csv
with open('datos.csv') as fichero_de_datos:
reader = csv.reader(fichero_de_datos, delimiter=';')
for lines in reader:
print [ items for items in lines if items != '' ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment