SyntaxFix
Write A Post
Hire A Developer
Questions
This might be helpful
from bs4 import UnicodeDammit with open('automate_data/billboard.csv', 'rb') as file: content = file.read() suggestion = UnicodeDammit(content) suggestion.original_encoding #'iso-8859-1'