Спасибо AD0DE412
Опять выдало ошибки:
Traceback (most recent call last):
File “C:\Users\Пк\Desktop\cleaning_plist\2.py”, line 18, in <module>
txt = file_in.read()
File “C:\Python\lib\encodings\cp1251.py”, line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)
UnicodeDecodeError: ‘charmap’ codec can't decode byte 0x98 in position 6252: character maps to <undefined>