1.使用open方法读取文本文件,开头出现\ufeff。 将encoding='utf-8-sig'即刻。
python3常见错误解决方法
猜你喜欢
转载自www.cnblogs.com/lldbyt/p/13392989.html
今日推荐
周排行