📅  最后修改于: 2022-03-11 14:45:06.698000             🧑  作者: Mango
from tkinter import Tk
from tkinter.filedialog import askopenfilename
Tk().withdraw() # Added so Tk window doesn't appear on opening the dialog
filePath = askopenfilename() # Full pile will be returned as string