Comment on (Python) Generator Tricks For Systems Programmer (pdf)parentComments−pyre14yThat's not the tee that I'm talking about.This takes one iterator and returns n multiple iterators:http://docs.python.org/library/itertools.html#itertools.teeThis is what I'm talking about when I'm talking about tee:http://linux.die.net/man/1/teePython has a reverse tee:http://docs.python.org/library/fileinput.htmlThis iterates over input from multiple sources, but my implementation takes input from a single source and writes it to multiple destinations.
Comments
That's not the tee that I'm talking about.
This takes one iterator and returns n multiple iterators:
http://docs.python.org/library/itertools.html#itertools.tee
This is what I'm talking about when I'm talking about tee:
http://linux.die.net/man/1/tee
Python has a reverse tee:
http://docs.python.org/library/fileinput.html
This iterates over input from multiple sources, but my implementation takes input from a single source and writes it to multiple destinations.