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


Groups > comp.lang.python > #105123

Re: Bash-like pipes in Python

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Sivan Greenberg <sivan@vitakka.co>
Newsgroups comp.lang.python
Subject Re: Bash-like pipes in Python
Date Thu, 17 Mar 2016 19:20:57 +0200
Lines 25
Message-ID <mailman.279.1458235266.12893.python-list@python.org> (permalink)
References <56e97459$0$1600$c3e8da3$5496439d@news.astraweb.com> <87egbacq2j.fsf@elektro.pacujo.net> <56eabae8$0$1599$c3e8da3$5496439d@news.astraweb.com> <CAPTjJmopjW7DXab5=5G_27fBRRdBN_CyG_YoL0JMm_JOj=ZV8A@mail.gmail.com> <1458232290.430922.552150954.7C744C23@webmail.messagingengine.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de 5tSs4tvzlKWGRXyCuU2P4wPII+QGs7qTT2G/mVhGAubA==
Return-Path <sivan@vitakka.co>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.014
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.05; 'cto': 0.07; 'cc:addr:python-list': 0.09; 'script,': 0.09; 'thu,': 0.15; '2016': 0.16; 'already!': 0.16; 'cc:name:python list': 0.16; 'quantum': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; '&gt;': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'header:In-Reply-To:1': 0.24; 'chris': 0.26; 'message-id:@mail.gmail.com': 0.27; 'sequence': 0.27; 'url:mailman': 0.30; "we're": 0.30; 'computing': 0.32; 'operate': 0.32; 'url:python': 0.33; 'subject:like': 0.33; 'url:listinfo': 0.34; 'add': 0.34; 'received:google.com': 0.35; 'protocol': 0.35; 'but': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'founder': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'list.': 0.37; 'received:209': 0.38; 'subject:-': 0.39; 'url:mail': 0.40; '&amp;': 0.61; 'mar': 0.65; 'here': 0.66; "it'd": 0.84; 'step,': 0.84; "they'd": 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=vitakka-co.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=2tROt4j4o/nD73ADktR7NHuopP5AfvTvL1wnFQn9jFI=; b=dZJH8v+iAOjpgCce35Bf2dscL4Prx5uf7T1es+jxV8kENldy1J1CSgmyjOrnA6A1hD Rn7Rwnrfju3S6n2WtL7tFZ3YFdOIbot8VdCnc4sb0fENsADPmx4fn46+Zr/8RFh1vM56 y1EmPukunXirVykBtwbP9T+8wkO/fbDX72awf74iDP6s1CqU7H/3FIYHLmD46+DsxMPE GZDUneXjkSQCbuhqtLe38XfBqcswtZd39bViEYz9RMP949p7bv3ZTZqAfPVsrEWjQ4sW uDNtwsMME5Zdj+Eaw98Ki3B8pebvv1wkyLUKSA9ckKNi2DVWnpKwAYsnjoTxK5TyFWuD mZ0g==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=2tROt4j4o/nD73ADktR7NHuopP5AfvTvL1wnFQn9jFI=; b=Gp9ekThjuiAww1zwedT+9sxVkxKjavTPvo1fL2WSbGYPK58n1cchOPn3nVRHM92MHA e/C5fUp8Qdhgf9EFEzrOp+G48Gc9ArnU283oXo2MdK7o2qyxgk8XsRufwRK8YV6xZB86 C9i2KeqYIHeIBGAZw3OjLH8IDPjNbRNa6JtvQfZ7Q/2tWmLVvEmnjWxrZe0Wdadl00LX 68VEVSJ4FroQBSLfpcUZNU4tjA8YMyK9NUQ+BWyr5Y4zwMA0zDr3by7QMlwTj8KKuwzd SBQNGM+ppgYrUCjs3TyVHmm103s6PtcJuJWAKDRw52o3KfqXK2goQmnOZGwIA7rKIeDi /ieg==
X-Gm-Message-State AD7BkJKaxMbbCK66hh9HMrGPirv1hM28k/JopPAwChD8tui0t8TPvjwA21EeWCdz3jd9xvv9Vp8R9qoVqAFS0w==
X-Received by 10.13.205.199 with SMTP id p190mr5144390ywd.116.1458235258093; Thu, 17 Mar 2016 10:20:58 -0700 (PDT)
X-Originating-IP [31.154.12.26]
In-Reply-To <1458232290.430922.552150954.7C744C23@webmail.messagingengine.com>
X-Content-Filtered-By Mailman/MimeDel 2.1.21
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:105123

Show key headers only | View raw


++1 !

On Thu, Mar 17, 2016 at 6:31 PM, Random832 <random832@fastmail.com> wrote:

>
>
> On Thu, Mar 17, 2016, at 10:36, Chris Angelico wrote:
> > This object has a generator/list duality, but if you observe it, it
> > collapses to a list. When used interactively, it'd be pretty much the
> > same as calling list() as the last step, but in a script, they'd
> > operate lazily.
> >
> > Quantum computing is here already!
>
> Might as well add the sequence protocol while we're at it.
> --
> https://mail.python.org/mailman/listinfo/python-list
>



-- 
Sivan Greenberg
Co founder & CTO
Vitakka Consulting

Back to comp.lang.python | Previous | NextPrevious 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