testfiles / utils /fileSelect.py
dunlp's picture
Upload 5 files
3b83fd0 verified
raw
history blame
218 Bytes
from tkinter import Tk
from tkinter.filedialog import askdirectory
def getDirectory(**args):
title = args.get("title", None)
Tk().withdraw()
return askdirectory(title=title)
# getDirectory()