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


Groups > comp.lang.python > #51483 > unrolled thread

Re: import syntax

Started byJoel Goldstick <joel.goldstick@gmail.com>
First post2013-07-29 16:05 -0400
Last post2013-07-29 16:05 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: import syntax Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-29 16:05 -0400

#51483 — Re: import syntax

FromJoel Goldstick <joel.goldstick@gmail.com>
Date2013-07-29 16:05 -0400
SubjectRe: import syntax
Message-ID<mailman.5259.1375128336.3114.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web