def get_value(configobj, path):
    """
    Returns the value specified by the full path to the key (specified as an
    iterable). Returns None if the key does not exist.
    """
    for i in range(0, len(path) - 1):
        configobj = configobj.get(path[i], {})
    return configobj.get(path[-1], None)