Mercurial > hg > python
view csvtotsv.py @ 55:68004ce55703
convert to newer source of Nonogram data
author | Henry Thompson <ht@markup.co.uk> |
---|---|
date | Mon, 29 May 2023 22:24:53 +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))