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


Groups > comp.lang.python > #72284

Re: Multi-line commands with 'python -c'

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.147
X-Spam-Level *
X-Spam-Evidence '*H*': 0.75; '*S*': 0.05; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'certainly': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'fri,': 0.33; 'not.': 0.33; 'subject:with': 0.35; 'received:google.com': 0.35; 'list': 0.37; 'pm,': 0.38; '30,': 0.65; '100': 0.79; 'line!': 0.84; 'saying:': 0.84; 'subject:commands': 0.84; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=ilqzMXXXrrR6WojQrUL5SeSgB3VvUlE+YQ9w+Jy2Fo4=; b=s52EI7qQzbfi4qA89bOzNpM9xa2zk2MYGDpiln6Bcf1xuGtoAuh36YALjHYByKSyb7 mn0VFmgUd6CZ7JbIMSGnuh/j3qVA8Xa25Z79vhK4oM3VnhlQmXt2EB7DPzDR/Dz+aA8w aLb1qTOuoiGcrbPgUy7Y+kV/cH2z8maqxznWnQVtgf5q5KXfweORkS1AuSyD2ive6tFv T9Epo4hZy6CfUctySE10DkhWjED2zct6NAIXUeaOAuKQySpHahyJsWV9J3v0K/CPBr9P /GlX8wGdcBzFkCbNtF+Ga2sgFh5zOgdNeTGLEXf0NxzzJ7IQWp63fyK6TuibFpYazgkD swgA==
MIME-Version 1.0
X-Received by 10.180.8.136 with SMTP id r8mr3775235wia.60.1401434431449; Fri, 30 May 2014 00:20:31 -0700 (PDT)
In-Reply-To <25135194-b9cb-4942-bead-c1bdf72923ee@googlegroups.com>
References <mailman.10468.1401411146.18130.python-list@python.org> <25135194-b9cb-4942-bead-c1bdf72923ee@googlegroups.com>
Date Fri, 30 May 2014 17:20:31 +1000
Subject Re: Multi-line commands with 'python -c'
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
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>
Newsgroups comp.lang.python
Message-ID <mailman.10478.1401434433.18130.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1401434433 news.xs4all.nl 2962 [2001:888:2000:d::a6]:55448
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:72284

Show key headers only | View raw


On Fri, May 30, 2014 at 4:04 PM, Rustom Mody <rustompmody@gmail.com> wrote:
> I thought when one signs up for python one has to sign an affidavit
> saying:
> "I shall not write one-liners\n" * 100

Certainly not. I write all my list comps on one line!

*ducking for cover*

ChrisA

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


Thread

Multi-line commands with 'python -c' Chris Angelico <rosuav@gmail.com> - 2014-05-30 10:52 +1000
  Re: Multi-line commands with 'python -c' Rustom Mody <rustompmody@gmail.com> - 2014-05-29 23:04 -0700
    Re: Multi-line commands with 'python -c' Rustom Mody <rustompmody@gmail.com> - 2014-05-29 23:45 -0700
      Re: Multi-line commands with 'python -c' Rustom Mody <rustompmody@gmail.com> - 2014-05-29 23:54 -0700
        Re: Multi-line commands with 'python -c' Peter Otten <__peter__@web.de> - 2014-05-30 09:33 +0200
      Re: Multi-line commands with 'python -c' Terry Reedy <tjreedy@udel.edu> - 2014-05-30 11:29 -0400
    Re: Multi-line commands with 'python -c' Chris Angelico <rosuav@gmail.com> - 2014-05-30 17:20 +1000
      Re: Multi-line commands with 'python -c' Rustom Mody <rustompmody@gmail.com> - 2014-05-30 05:47 -0700
        Re: Multi-line commands with 'python -c' Chris Angelico <rosuav@gmail.com> - 2014-05-30 22:58 +1000
  Re: Multi-line commands with 'python -c' Duncan Booth <duncan.booth@invalid.invalid> - 2014-05-30 21:11 +0000
    Re: Multi-line commands with 'python -c' Devin Jeanpierre <jeanpierreda@gmail.com> - 2014-05-30 14:42 -0700
    Re: Multi-line commands with 'python -c' Chris Angelico <rosuav@gmail.com> - 2014-05-31 07:47 +1000
      Re: Multi-line commands with 'python -c' Duncan Booth <duncan.booth@invalid.invalid> - 2014-05-31 16:41 +0000
        Re: Multi-line commands with 'python -c' Peter Otten <__peter__@web.de> - 2014-05-31 19:11 +0200
          Re: Multi-line commands with 'python -c' Duncan Booth <duncan.booth@invalid.invalid> - 2014-06-01 20:43 +0000

csiph-web