Mercurial > hg > python
view csvtotsv.py @ 34:668d788cac47
handle unbounded Y, landing below target elevation
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Sat, 12 Jun 2021 17:25:13 +0100 |
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))