Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

save utf 8 text file in python

with open('file.txt', 'w', encoding='utf-8') as f:
    f.write('Hi EveryOne')
 
PREVIOUS NEXT
Tagged: #save #utf #text #file #python
ADD COMMENT
Topic
Name
1+9 =