File size: 218 Bytes
3b83fd0
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
from tkinter import Tk
from tkinter.filedialog import askdirectory


def getDirectory(**args):
    title = args.get("title", None)
    Tk().withdraw()
    return askdirectory(title=title)


# getDirectory()