Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #105050

Re: Bash-like pipes in Python

Path csiph.com!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!newsfeed0.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!not-for-mail
From Random832 <random832@fastmail.com>
Newsgroups comp.lang.python
Subject Re: Bash-like pipes in Python
Date Wed, 16 Mar 2016 11:21:43 -0400
Lines 6
Message-ID <mailman.219.1458141706.12893.python-list@python.org> (permalink)
References <56e97459$0$1600$c3e8da3$5496439d@news.astraweb.com> <CAPM-O+z+OevhxeT8bG4Lm1OLi1f5JF6Dfz=6PWVW1TXawcp0rQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de YLnhoZAM7BfvlB6y7RXSxwTSS4GlnJuZIlQ55ZDY578A==
Return-Path <random832@fastmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; '16,': 0.03; 'subject:Python': 0.05; 'methods,': 0.09; 'received:internal': 0.09; 'python.': 0.11; 'wed,': 0.15; 'message- id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:io': 0.16; 'received:messagingengine.com': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'pipe': 0.22; 'header:In-Reply-To:1': 0.24; 'define': 0.27; "i'm": 0.30; 'classes': 0.30; 'subject:like': 0.33; 'symbol': 0.33; 'but': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'missing': 0.37; 'received:66': 0.38; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'header:Message-Id:1': 0.61; 'mar': 0.65; 'joel': 0.91; 'interesting,': 0.93
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=mqk0gUPkGJLVnUUlGMotxJnfzAw=; b=Zo+Mcr W9CndDmL9WZxCqR8rV2x195K8nEjjWKV/jzJwQJAOUyKaruTyHrLvcYW+0fBCi39 jQnYkDwc+OCpWlu+dH2PCkg9iJxijQfyyGPb3IX/A12j2Sd7kgKLLOVcE+VB8Ak4 fTZyOXAnspQLC9Sk/btTPWhYhmSzIsfY+GLqQ=
DKIM-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=mqk0gUPkGJLVnUU lGMotxJnfzAw=; b=CwMbLygnW/3JtFZkLS3OzvIheVwcWqhcOzT0b3EYKpeWR9n nnHOeXYbq0o9ugBjlRyw3zOVKur0Gm+utpx97rpZJdkOO5iL/CdTZIwTI1Ear1V2 cKy1mdPJGeFtdDCN8GQxh0ptDzEQ5WI0vxtZExiZf+pXI+E5EMguwQezjs3E=
X-Sasl-Enc WVzcKCQeUf23phLsVT+uuObLcLAP8aLHZ3afomlyl9mJ 1458141703
X-Mailer MessagingEngine.com Webmail Interface - ajax-872772a7
In-Reply-To <CAPM-O+z+OevhxeT8bG4Lm1OLi1f5JF6Dfz=6PWVW1TXawcp0rQ@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:105050

Show key headers only | View raw


On Wed, Mar 16, 2016, at 11:09, Joel Goldstick wrote:
> > This is interesting, but the part I'm missing is the use of the Pipe
> symbol '|' in python.  Can you elaborate

His "Filter", "Map", and "Reduce" are classes which define __ror__
methods, obviously.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bash-like pipes in Python Steven D'Aprano <steve@pearwood.info> - 2016-03-17 01:57 +1100
  Re: Bash-like pipes in Python Joel Goldstick <joel.goldstick@gmail.com> - 2016-03-16 11:09 -0400
    Re: Bash-like pipes in Python Christian Gollwitzer <auriocus@gmx.de> - 2016-03-16 16:16 +0100
  Re: Bash-like pipes in Python Random832 <random832@fastmail.com> - 2016-03-16 11:20 -0400
    Re: Bash-like pipes in Python Steven D'Aprano <steve@pearwood.info> - 2016-03-17 21:58 +1100
      Re: Bash-like pipes in Python Marko Rauhamaa <marko@pacujo.net> - 2016-03-17 13:49 +0200
        Re: Bash-like pipes in Python Sivan Greenberg <sivan@vitakka.co> - 2016-03-17 14:10 +0200
          Re: Bash-like pipes in Python Marko Rauhamaa <marko@pacujo.net> - 2016-03-17 14:44 +0200
  Re: Bash-like pipes in Python "Sven R. Kunze" <srkunze@mail.de> - 2016-03-16 16:20 +0100
  Re: Bash-like pipes in Python Random832 <random832@fastmail.com> - 2016-03-16 11:21 -0400
  Re: Bash-like pipes in Python Steven D'Aprano <steve@pearwood.info> - 2016-03-17 02:39 +1100
  Re: Bash-like pipes in Python Marko Rauhamaa <marko@pacujo.net> - 2016-03-16 19:04 +0200
    Re: Bash-like pipes in Python Steven D'Aprano <steve@pearwood.info> - 2016-03-18 01:10 +1100
      Re: Bash-like pipes in Python Chris Angelico <rosuav@gmail.com> - 2016-03-18 01:36 +1100
      Re: Bash-like pipes in Python Random832 <random832@fastmail.com> - 2016-03-17 12:31 -0400
      Re: Bash-like pipes in Python Sivan Greenberg <sivan@vitakka.co> - 2016-03-17 19:20 +0200

csiph-web