文本文件编辑完以后。用pycharm打开,是乱码的,(如图)求解答怎么解决,谢谢
加上这个编码~encoding = 'utf-8'
with open("你的文件名字.txt", 'r', encoding = 'utf-8')