DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python write txt utf8
import codecs file = codecs.open("lol", "w", "utf-8") file.write(u'ufeff') file.close()
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#write
#txt
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit