Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python beautifulsoup write to file

with open("output1.html", "w", encoding='utf-8') as file:
    file.write(str(soup))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #beautifulsoup #write #file
ADD COMMENT
Topic
Name
5+8 =