view csvtotsv.py @ 15:22b0894c0f4c

fixed Column.updateHeader wrt 5a, but broke it wrt C0 and missing red for R2
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sun, 22 Mar 2020 18:15:42 +0000
parents e07789816ca5
children
line wrap: on
line source

#!/usr/bin/python3
import csv,sys
with open(sys.argv[1],newline='') as f:
  r=csv.reader(f)
  for l in r:
    print('\t'.join(s.replace("\n","") for s in l))