On Sunday 19 October 2003 06:50 pm, Raymond Hettinger wrote: ... > If only a portion needs to be saved, then I use the code from the tee() > example in the itertools documentation: VERY very neat indeed. OK, I've gotta re-read that documentation -- mea culpa for NOT recalling such juicy contents. I'd also _really_ like to have this anything-but-trivial code available for non-copy-and-paste reuse (i.e., in the library rather than just in its docs)...! OK, I retract my requests for snapshottability -- and change them into a request to have this 'tee' in the library!-) Alex
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