Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #26298
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!usenetcore.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'mess': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'splitting': 0.09; 'subject:python': 0.11; 'cleanly': 0.16; 'message- id:@dough.gmane.org': 0.16; 'readable': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'tend': 0.17; 'code.': 0.20; 'insert': 0.23; 'specifically': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.28; 'dan': 0.29; 'statements': 0.29; "i'm": 0.29; 'becomes': 0.30; 'from:addr:yahoo.co.uk': 0.32; 'skip:- 10': 0.32; 'print': 0.32; 'anyone': 0.33; 'to:addr:python-list': 0.33; 'list': 0.35; 'doing': 0.35; 'received:org': 0.36; 'but': 0.36; 'should': 0.36; 'subject:: ': 0.38; 'mark': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'think': 0.40; 'skip:u 10': 0.60; 'dead': 0.62; 'jul': 0.65; 'death': 0.71; 'dennis': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
| Subject | Re: Linux shell to python |
| Date | Tue, 31 Jul 2012 08:15:32 +0100 |
| References | <1343631941.7199.YahooMailNeo@web193104.mail.sg3.yahoo.com> <zarafa.5016bc81.4999.5dfe44331e43676a@zarafa-04.c4a.nl> <1826E39D-43C1-4CEB-AEA2-133B95AC0B0B@barrys-emacs.org> <CAGGBd_ojb-O37--BBaa3aZwnxqaPq_FX7mEADOSWxKeSpoNDOQ@mail.gmail.com> <phce18h2219j1i0h7oegmv4cajf09bcv9s@invalid.netcom.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | host-78-146-3-232.as13285.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.0; rv:14.0) Gecko/20120713 Thunderbird/14.0 |
| In-Reply-To | <phce18h2219j1i0h7oegmv4cajf09bcv9s@invalid.netcom.com> |
| X-Antivirus | avast! (VPS 120731-0, 31/07/2012), Outbound message |
| X-Antivirus-Status | Clean |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2761.1343718923.4697.python-list@python.org> (permalink) |
| Lines | 34 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1343718923 news.xs4all.nl 6952 [2001:888:2000:d::a6]:34553 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:26298 |
Show key headers only | View raw
On 31/07/2012 02:20, Dennis Lee Bieber wrote: > On Mon, 30 Jul 2012 22:56:48 +0000, Dan Stromberg <drsalists@gmail.com> > declaimed the following in gmane.comp.python.general: > > >> Sigh, and I'm also not keen on multi-line list comprehensions, specifically >> because I think they tend to make less readable code. It also becomes a >> mess when you need to insert print statements to get some visibility into >> what's going on. > > Cleanly splitting the list-comp by > > [ result-computation > for-item-selection-clause > if-filter-clause ] > > isn't that unreadable... But anyone doing > > [ result- > -computation for-item- > -selection-clause if- > -filter- > -clause ] > > should be pecked to death by a dead parrot. > Any particular species? -- Cheers. Mark Lawrence.
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: Linux shell to python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-07-31 08:15 +0100 Re: Linux shell to python Alister <alister.ware@ntlworld.com> - 2012-07-31 10:53 +0000 Re: Linux shell to python 88888 Dihedral <dihedral88888@googlemail.com> - 2012-07-31 12:01 -0700 Re: Linux shell to python 88888 Dihedral <dihedral88888@googlemail.com> - 2012-07-31 12:01 -0700
csiph-web