Read tsv python no column header

import csv

with open(r"file.tsv", encoding="utf-8") as tsv_file:
    read_tsv = csv.reader(tsv_file, delimiter="\t")

    for row in read_tsv:
        print(
            row[0],
            row[1],
        )
COPIED

SNAPPED!

Comments

Popular posts from this blog

Append to a json file python

Setup Mailhog mail server on Ubuntu