Answers for "how to let someone select a folder in python"

0

how to let someone select a folder in python

from tkinter import Tk
from tkinter.filedialog import askdirectory
path = askdirectory(title='Select Folder') # shows dialog box and return the path
print(path)
Posted by: Guest on January-28-2021

Code answers related to "how to let someone select a folder in python"

Python Answers by Framework

Browse Popular Code Answers by Language