python 学习

1.文件乱码,使用codecs  f = codecs.open(fileDir + fid + '.txt', 'r', encoding='gbk')

原文地址:https://www.cnblogs.com/yanjunwu/p/10653966.html