import pywinauto from tkinter import filedialog filedialog.askdirectory()