import jieba
def get_text(filepath):
f = open(filepath,'r',encoding="utf-8")
text = f.read()
f.close()
UnicodeDecodeError:‘utf-8‘codec can‘t decode byte Oxff in position 0:invalid start byte(解决方法)
最新推荐文章于 2024-07-25 18:00:29 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)