Python读取文件时出现UnicodeDecodeError
Python读取文件时出现Unicode Decode Error 运行下面code时 `python with open('style.css','r',encoding='utf-8') as f: for line in f: print(line) ` 出现错误 `python Unicode Decode Error: 'gbk' codec can't decode byte 0x...
共找到 1 篇文章
Python读取文件时出现Unicode Decode Error 运行下面code时 `python with open('style.css','r',encoding='utf-8') as f: for line in f: print(line) ` 出现错误 `python Unicode Decode Error: 'gbk' codec can't decode byte 0x...