📅  最后修改于: 2022-03-11 14:46:03.188000             🧑  作者: Mango
from tkinter import Tk
from tkinter.filedialog import askdirectory
path = askdirectory(title='Select Folder') # shows dialog box and return the path
print(path)