Python 读取文件. f = open('D:/python/cpwords.txt','r',encoding='utf-8'). print(*f). 读取Unicode格式的文本时,需要使用utf-16 编码格式:.
確定! 回上一頁