def diropenbox(msg=None, title=None, argInitialDir=None):
    """Original doc: A dialog to get a directory name.
        Note that the msg argument, if specified, is ignored.

        Returns the name of a directory, or None if user chose to cancel.

        If an initial directory is specified in argument 3,
        and that directory exists, then the
        dialog box will start with that directory.
        """
    return psidialogs.ask_folder(message=msg, title=title, default=argInitialDir)
Original doc: A dialog to get a directory name.
        Note that the msg argument, if specified, is ignored.

        Returns the name of a directory, or None if user chose to cancel.

        If an initial directory is specified in argument 3,
        and that directory exists, then the
        dialog box will start with that directory.