gui/dialog.py
def choose_directory(message='Choose a directory', path="", parent=None):
    "Show a dialog to choose a directory"
    result = dialogs.directoryDialog(parent, message, path)
    return result.path
def choose_directory(message='Choose a directory', path="", parent=None):
    "Show a dialog to choose a directory"
    result = dialogs.directoryDialog(parent, message, path)
    return result.path
Show a dialog to choose a directory