Writing UTF-8 in file

前端 未结 0 1828
清歌不尽
清歌不尽 2021-01-19 16:38
import codecs
f = codecs.open("C:\\\\Users\\suasnomy\\Desktop\\python files\\checkers.txt", \'r\',\'utf-8\')
fo = codecs.open(\'writehere.txt\',\'a\',\'utf         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题