如何去掉bom字元? 解決修改encoding為utf-8_sig或者utf_8_sig. open('1.txt', encoding='utf_8_sig' ). [python 的字元編碼和中文處理].
確定! 回上一頁