Save the txt with UTF format and then open the file with f1 = open(path, encoding = 'utf') 转载于:https://www.cnblogs.com/Shareishappy/p/7433608.html