Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51483
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <joel.goldstick@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.024 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'importing': 0.05; 'that?': 0.05; 'collier': 0.09; 'recommends': 0.09; 'cc:addr:python-list': 0.11; 'pep8': 0.16; 'subject:import': 0.16; 'wrote:': 0.18; 'import': 0.22; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'this:': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'os,': 0.31; 'url:python': 0.33; 'johnson': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'performance': 0.37; 'pm,': 0.38; 'url:mail': 0.40; 'email addr:gmail.com': 0.63; 'to:addr:gmail.com': 0.65; 'jul': 0.74; 'joel': 0.91; '2013': 0.98 |
| 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=z0E8aWyhRv4YEyJPOfm80WtUx2Swp++KYNuSWsmdtFo=; b=uwmindt+4j1Y341oFrRklkcFa9e7QLkksGuSw4rkKaiVHt8sJhhB96c/RjCYsO6Jn3 ICq6wAQvE1hFWNz3C1nBFUwT4Zhj0oh8qb0IPkySxRv9W1a13IzjhM/TfMVkv97CNZuO FOfmd7JnBwxOC69ZthM8fmcuoeMIxqC2hw7tnVP3Jng9cODCIjRAWCbYHVaRnyv3nhEs mPU367RpK3BpsfkyKkVWriBNO0JsfJeBCzsUv9/Zvewl3JUUmKI/3qr9U8qdrq8GLAfc UGz94UJbnoLCBBDb7G2DX7dsN3etroDxqK7eRJWtdEi2gKVbpX96QT/3CSedwjPHO2dh GXYQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.58.248.40 with SMTP id yj8mr26306398vec.40.1375128334114; Mon, 29 Jul 2013 13:05:34 -0700 (PDT) |
| In-Reply-To | <51F6C720.2020404@Gmail.com> |
| References | <51F6C720.2020404@Gmail.com> |
| Date | Mon, 29 Jul 2013 16:05:34 -0400 |
| Subject | Re: import syntax |
| From | Joel Goldstick <joel.goldstick@gmail.com> |
| To | Devyn Collier Johnson <devyncjohnson@gmail.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | Python Mailing 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.5259.1375128336.3114.python-list@python.org> (permalink) |
| Lines | 26 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1375128336 news.xs4all.nl 15971 [2001:888:2000:d::a6]:38555 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:51483 |
Show key headers only | View raw
On Mon, Jul 29, 2013 at 3:48 PM, Devyn Collier Johnson <devyncjohnson@gmail.com> wrote: > The PEP8 recommends importing like this: > > import os > import re > > not like this: > > import os, re > > Why is that? Is there a performance advantage to one of the styles? > > > Mahalo, > > Devyn Collier Johnson > DevynCJohnson@Gmail.com > -- > http://mail.python.org/mailman/listinfo/python-list I think its just for clarity -- Joel Goldstick http://joelgoldstick.com
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: import syntax Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-29 16:05 -0400
csiph-web