📜  python write txt utf8 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:46.538000             🧑  作者: Mango

代码示例1
import codecs

file = codecs.open("lol", "w", "utf-8")
file.write(u'\ufeff')
file.close()