A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-April/044210.html below:

[Python-Dev] pipe syntax for sequential data

[Python-Dev] pipe syntax for sequential data [Python-Dev] pipe syntax for sequential dataSkip Montanaro skip at pobox.com
Tue Apr 13 12:58:27 EDT 2004
    >> 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 )

    aahz> If you're serious about this, you'll need to write up a PEP and
    aahz> push it forward.

Also, you should release it as a standalone module (perhaps create a
SourceForge project for it) so it can "cook" for awhile and you can get
feedback and perhaps some new command objects for your pipe.

Skip


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4