Reading BOM-Included TSV Files with Python
Python
2018-07-04 06:08 (8 years ago)

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')
Please rate this article (No signup or login required)
Currently unrated
Related posts
[Outdated] Using Selenium Remote (Selenium Grid) with browser_use
Obtain HttpOnly=True Session Cookies from Services Logged in via Browser-Use
Fix: Python 3.13 SSL error 'Basic Constraints of CA cert not marked critical' (VERIFY_X509_STRICT)
Template Code for Thread Parallelism and Process Parallelism in Python
The author runs the application development company Cyberneura.
We look forward to discussing your development needs.
We look forward to discussing your development needs.