Reading BOM-Included TSV Files with Python

Python
2018-07-04 15:08 (6 years ago) ytyng

When you download a CSV from Amazon, it might sometimes be a TSV with a BOM.

import csv
reader = csv.DictReader(
open(file_path, encoding='utf-8-sig'), delimiter='\t')
Currently unrated

Comments

Archive

2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011