試著突破低點,往高點邁進
from tkinter import filedialog filename = filedialog.askopenfilename() print(filename)
from tkinter import filedialog filename = filedialog.askopenfilename(filetypes=(("Template files", "*.txt"),)) print(filename)