📌  相关文章
📜  如何让某人在python代码示例中选择一个文件夹

📅  最后修改于: 2022-03-11 14:46:03.188000             🧑  作者: Mango

代码示例1
from tkinter import Tk
from tkinter.filedialog import askdirectory
path = askdirectory(title='Select Folder') # shows dialog box and return the path
print(path)