前言Windows 下用记事本保存文件时有个ANSI 编码,在python 中使用mbcs 编码(Windows only)表示ANSI:with open('hello.txt', 'w') as f:f.write(u'你 ...
確定! 回上一頁