def get_app_config_dir(appname, *args):
dpath = join(platform_config_dir(), appname, *args)<EOL>return dpath<EOL>
r"""
    Returns a writable directory for an application
    This should be used for persistent configuration files.

    Args:
        appname (str): the name of the application
        *args: any other subdirectories may be specified

    Returns:
        PathLike: dpath: writable config directory for this application

    SeeAlso:
        ensure_app_config_dir