()
return os.path.join(os.path.expanduser("~"), ".config")
Returns the path of the folder where to store the configs (generally
    ``$HOME/.config``).

    :rtype: str
Returns the path of the folder where to store the configs (generally
    ``$HOME/.config``).
Returns the path of the folder where to store the configs ( generally $HOME / . config ) .
def get_xdg_config_home():
    """Returns the path of the folder where to store the configs (generally
    ``$HOME/.config``).

    :rtype: str
    """
    if "XDG_CONFIG_HOME" in os.environ and os.environ["XDG_CONFIG_HOME"]:
        return os.environ["XDG_CONFIG_HOME"]
    return os.path.join(os.path.expanduser("~"), ".config")
def get_xdg_config_home ( ) : if "XDG_CONFIG_HOME" in os . environ and os . environ [ "XDG_CONFIG_HOME" ] : return os . environ [ "XDG_CONFIG_HOME" ] return os . path . join ( os . path . expanduser ( "~" ) , ".config" )