Skip to content

Instantly share code, notes, and snippets.

@Bockit
Created July 31, 2013 03:10
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 Bockit/6118997 to your computer and use it in GitHub Desktop.
Save Bockit/6118997 to your computer and use it in GitHub Desktop.
TSV to CSV, easy enough to make it go the other way too
csv.writer(file('data/asylum/asylumseekers_global.csv', 'w+'), delimiter=',').writerows(csv.reader(open("data/asylum/asylumseekers_global.tsv", 'Ur+'), delimiter='\t'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment