Guido van Rossum wrote: >> As a trivial example, here's how to skip the head of a zero-numbered list: >> >> for i, item in enumerate("ABCDEF")[1:]: >> print i, item >> >> Is this idea a non-starter, or should I spend my holiday on Wednesday finishing >> it off and writing the documentation and tests for it? > > Since we already have the islice iterator, what's the point? readability? I don't have to import seqtools to work with traditional sequences, so why should I have to import itertools to be able to use the goodies in there? better leave that to the compiler. </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4