DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python add encoding for non-English language like Arabic
with open ('NiftyList.txt', 'w', encoding="utf-8") as f: f.write(resp.text)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#add
#encoding
#language
#Arabic
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit