On Wed, Feb 27, 2013 at 01:20:17PM +0100, Timo Kluck email@example.com wrote:
2013/2/27 Stefan Drees firstname.lastname@example.org: >
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:
Add your package to the Index so other people can find it.
Oleg Broytman http://phdru.name/ email@example.com Programmers don't die, they just GOSUB without RETURN.