
On Wed, Feb 27, 2013 at 01:20:17PM +0100, Timo Kluck <tkluck@infty.nl> wrote:
2013/2/27 Stefan Drees <stefan@drees.name>:
thanks a lot for sharing this. How does this relate to plumbum :-?
>>> from plumbum.cmd import echo, head >>> chain = echo['a\nb'] | head['-n1'] >>> chain() u'a\n'
Fantastic! I kind of guessed that it would have existed already, but didn't know where to find it. Thanks for pointing this out!
Very easy -- search for packages at Python Package Index, PyPI: https://pypi.python.org/pypi https://pypi.python.org/pypi?%3Aaction=search&term=pipe&submit=search Add your package to the Index so other people can find it. Oleg. -- Oleg Broytman http://phdru.name/ phd@phdru.name Programmers don't die, they just GOSUB without RETURN.