原来的 save = open('1.txt', 'w', 'utf8') 用下面的 save = codecs.open('1.txt', 'w', 'utf8') 转载于:https://www.cnblogs.com/yan456jie/p/5369490.html