# Bug report ### Bug description: Code to reproduce import tkinter as tk from tkinter.filedialog import askdirectory root = tk.Tk() root.withdraw() print(askdirectory(mustexist=False)) when trying to specify a folder that does not exist, an error message appears instead of allowing the selection. ### CPython versions tested on: 3.13 ### Operating systems tested on: Windows