[Python-Dev] pipe syntax for sequential data

Aahz aahz at pythoncraft.com
Tue Apr 13 11:41:16 EDT 2004

On Tue, Apr 13, 2004, "Maxim Krikun"  wrote:
> This recipe proposes an alternative syntax for sequential data
> processing functions, that reflects unix shell pipe syntax. Here is an
> example:
> bash_users = ( file('/etc/passwd') | grep('/bin/bash') | aslist )
> I don't know if this idea was already explored before; hope this can
> be useful. For details and sample code please see link above.

If you're serious about this, you'll need to write up a PEP and push it
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?

More information about the Python-Dev mailing list