读取文本文件有问题?
File "F:\python\lib\codecs.py", line 322, in decode(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 4: invalid continuation byte
open(file, mode)
open(file, mode, encoding = 'utf-8')
[此贴子已经被作者于2023-3-18 13:49编辑过]