DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+5 =
Submit