How to select a directory and store the location using tkinter in Python March 22, 2023 by Tarik It appears that tkFileDialog.askdirectory should work. documentation