Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python write request must be str not bytes

datafile = open(localfile, "wb")
datafile.write(page.content)
datafile.close()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #write #request #str #bytes
ADD COMMENT
Topic
Name
4+5 =