tkinter ask open folder code example
Example: python tkinter filedialog folder
from tkinter import filedialog
# Where it open to. # What the window is called.
folder = filedialog.askdirectory(initialdir=os.path.normpath("C://"), title="Example")