tk.END)entry.insert(0,folder_path)defconvert_files_to_ansi():folder_path=entry.get()forroot,dirs,filesinos.walk(folder_path):forfileinfiles:iffile.endswith(".txt"):file_path=os.path.join(root,file)try:# 以UTF-8读取文件内容withcodecs.open(file...