Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
CSV to TSV python one-liner
#!/usr/bin/env python
import sys,csv
for row in csv.reader(sys.stdin):
print "\t".join(row)
python -c "`printf '%s\n' 'import sys,csv' 'for row in csv.reader(sys.stdin):' ' print "\t".join(row)'`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.