def skip(iterable, at_start=0, at_end=0):
    it = iter(iterable)
for x in itertools.islice(it, at_start):
    pass
queue = collections.deque(itertools.islice(it, at_end))
for x in it:
    queue.append(x)
yield queue.popleft()
Пропустить первую запись в цикле for в python?