例如:<file2.txt>檔是以UTF-8 編碼格式存檔,在程式中我們指定使用 cp950 的編碼開啟會造成錯誤。(<filereadUTF-8.py>) f=open('file2.txt','r',encoding ='cp950') for ...
確定! 回上一頁