def selectfile(): global Text // My List text_file = filedialog.askopenfilename(title="Select File", filetypes=(("Text Files", "*.t