()
return USER_BASE
Returns the `user base` directory path.

    The `user base` directory can be used to store data. If the global
    variable ``USER_BASE`` is not initialized yet, this function will also set
    it.
Returns the `user base` directory path.
Returns the user base directory path .
def getuserbase():
    """Returns the `user base` directory path.

    The `user base` directory can be used to store data. If the global
    variable ``USER_BASE`` is not initialized yet, this function will also set
    it.
    """
    global USER_BASE
    if USER_BASE is not None:
        return USER_BASE
    from sysconfig import get_config_var
    USER_BASE = get_config_var('userbase')
    return USER_BASE
def getuserbase ( ) : global USER_BASE if USER_BASE is not None : return USER_BASE from sysconfig import get_config_var USER_BASE = get_config_var ( 'userbase' ) return USER_BASE