On 10/13/2014 12:12 PM, Tim Chase wrote:

You mean like

   offset = 0 # or 1 if you prefer
   for line in itertools.islice(source_iter, offset, None, 2):
     do_something(line)


I certainly did. Learning the python standard library is different from learning python and each in its own time.

Emile




--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to