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


Groups > comp.lang.python > #35564

Re: Please help if you can!

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <daodennis@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'much!': 0.05; 'badly': 0.07; 'subject:help': 0.07; 'python': 0.09; 'agree,': 0.09; 'url:github': 0.09; 'url:peps': 0.09; 'cc:addr:python-list': 0.10; 'readable': 0.16; 'url:pep-0008': 0.16; 'url:dev': 0.17; 'cc:2**0': 0.23; 'specifically': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'lines': 0.28; 'points': 0.29; 'seconds': 0.30; 'code': 0.31; 'url:python': 0.32; 'another': 0.33; 'received:google.com': 0.34; 'consistent': 0.35; 'received:209.85': 0.35; 'really': 0.36; 'but': 0.36; 'url:org': 0.36; 'development.': 0.36; 'subject:Please': 0.36; 'received:209': 0.37; 'received:209.85.216': 0.37; 'subject:: ': 0.38; 'things': 0.38; 'shows': 0.38; 'header:Received:5': 0.40; 'your': 0.60; 'link': 0.60; 'more.': 0.62; 'subject:you': 0.88
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:to :cc:content-type; bh=ZiC70GjFqgD/lQt5wD349wYFT7hLD7niW/qWjYV4n9k=; b=LbYD4OKx/zBVAAWyGopBCfIgBI/WRll33R0nsjz9xJxzd/XjJzu805JTE5zemTOgww t/39nwA36zpYEaJZwWa8t2tTM8eLKLbB9QFmwFGAgbxc2ChsikzN3YaUWbUFRmMQRwwu LU8agXdTI2p3AB0oRwIl+bDTASRzV6/BS4n5L4u/hajT5Ua0vWuz9TnyXPQvNICdOroT Ns7sYiONA2wUigKv0aCTy9YbTs/OYtyy77o/ff6WxTqLVskwyY4t1QAlN2/tR1wMchJR ePauYRMGOcP7Bax4CeOYDzuk+UA5FFYUXd/4U1+w0ZM3Po43kVXl4hOmK1lyds/vZIOc FPpg==
MIME-Version 1.0
In-Reply-To <CAN1F8qVkdSqKHtNz25GgW1sN0ot9eg9T8kWLVWt7TxbU_FLOKw@mail.gmail.com>
References <7333128a-6866-4e3c-8436-d5b2397beadc@googlegroups.com> <CAN1F8qVkdSqKHtNz25GgW1sN0ot9eg9T8kWLVWt7TxbU_FLOKw@mail.gmail.com>
Date Wed, 26 Dec 2012 17:20:46 -0800
Subject Re: Please help if you can!
From Dennis <daodennis@gmail.com>
To bobflipperdoodle@gmail.com
Content-Type multipart/alternative; boundary=20cf300fb4cd44dc1604d1cb5b94
Cc python-list <python-list@python.org>
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 <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.1315.1356571249.29569.python-list@python.org> (permalink)
Lines 48
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1356571249 news.xs4all.nl 6976 [2001:888:2000:d::a6]:58403
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:35564

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

>
> My *very first* thought about this code is that it's really badly spaced.
> Don't put lines together so much! [https://gist.github.com/4383950] shows
> how much nicer things look when they're partitioned more. You may not
> agree, but it took about 10 seconds and I prefer it.
>
>

On another style note, you may want to take a look at this thread:

http://stackoverflow.com/questions/5611776/what-are-the-comprehensive-lint-checkers-for-python

Keeping your code style consistent and readable is a fundamental tenant of
Python development.

That link specifically points out PEP8:
http://www.python.org/dev/peps/pep-0008/

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


Thread

Please help if you can! bobflipperdoodle@gmail.com - 2012-12-26 15:04 -0800
  Re: Please help if you can! Dave Angel <d@davea.name> - 2012-12-26 18:49 -0500
    Re: Please help if you can! bobflipperdoodle@gmail.com - 2012-12-26 16:04 -0800
      Re: Please help if you can! Chris Angelico <rosuav@gmail.com> - 2012-12-27 11:35 +1100
      Re: Please help if you can! Joshua Landau <joshua.landau.ws@gmail.com> - 2012-12-27 00:45 +0000
      Re: Please help if you can! Mitya Sirenef <msirenef@lightbird.net> - 2012-12-26 19:53 -0500
      Re: Please help if you can! Chris Angelico <rosuav@gmail.com> - 2012-12-27 12:00 +1100
        Re: Please help if you can! alex23 <wuwei23@gmail.com> - 2012-12-26 22:33 -0800
      Re: Please help if you can! Mitya Sirenef <msirenef@lightbird.net> - 2012-12-26 20:17 -0500
      Re: Please help if you can! Chris Angelico <rosuav@gmail.com> - 2012-12-27 12:23 +1100
      Re: Please help if you can! Mitya Sirenef <msirenef@lightbird.net> - 2012-12-26 20:42 -0500
      Re: Please help if you can! Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-12-26 21:45 -0500
    Re: Please help if you can! bobflipperdoodle@gmail.com - 2012-12-26 16:04 -0800
  Re: Please help if you can! Joshua Landau <joshua.landau.ws@gmail.com> - 2012-12-26 23:57 +0000
    Re: Please help if you can! bobflipperdoodle@gmail.com - 2012-12-26 16:19 -0800
    Re: Please help if you can! bobflipperdoodle@gmail.com - 2012-12-26 16:19 -0800
  Re: Please help if you can! Dennis <daodennis@gmail.com> - 2012-12-26 17:20 -0800

csiph-web