Alan G Isaac <[EMAIL PROTECTED]> writes: > If I have a sequence, I can get every other or every fifth > element by slicing. Is there an equivalent for iterators?
itertools.islice -- http://mail.python.org/mailman/listinfo/python-list
Alan G Isaac <[EMAIL PROTECTED]> writes: > If I have a sequence, I can get every other or every fifth > element by slicing. Is there an equivalent for iterators?
itertools.islice -- http://mail.python.org/mailman/listinfo/python-list