challenging-america-geo-pre.../dev-0/join_out.py
2021-06-09 10:12:51 +02:00

4 lines
185 B
Python

with open('out1.tsv') as fo1, open('out2.tsv') as fo2, open('out.tsv','w') as fo:
for lo1, lo2 in zip(fo1, fo2):
fo.write(lo1.rstrip('\n') + '\t' + lo2.rstrip('\n') + '\n')