def select_from(items, indexes):
    """
    :param items: a list of items.
    :param indexes: an iterable of indexes within `items`.
    :returns: a list of the items corresponding to the indexes.
    """
    return [items[i] for i in indexes]