[Python-Dev] pipe syntax for sequential data (original) (raw)
Aahz aahz at pythoncraft.com
Tue Apr 13 11:41:16 EDT 2004
- Previous message: [Python-Dev] pipe syntax for sequential data
- Next message: [Python-Dev] pipe syntax for sequential data
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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: bashusers = ( 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 forward.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Why is this newsgroup different from all other newsgroups?
- Previous message: [Python-Dev] pipe syntax for sequential data
- Next message: [Python-Dev] pipe syntax for sequential data
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]