Mercurial > hg > python
view csvtotsv.py @ 58:a3aaf6c085f4 simple
pass0, initial display working with Run and Space
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Thu, 01 Jun 2023 19:02:22 +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))