Answers for "beautifulsoup 'charmap' codec can't decode byte"

0

beautifulsoup 'charmap' codec can't decode byte

# add 'rb'
with open('D:/page.html', 'rb') as html:
    soup = BeautifulSoup(html)
Posted by: Guest on June-10-2021

Code answers related to "beautifulsoup 'charmap' codec can't decode byte"

Browse Popular Code Answers by Language