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


Groups > comp.lang.python > #51483

Re: import syntax

References <51F6C720.2020404@Gmail.com>
Date 2013-07-29 16:05 -0400
Subject Re: import syntax
From Joel Goldstick <joel.goldstick@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5259.1375128336.3114.python-list@python.org> (permalink)

Show all headers | 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


Thread

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

csiph-web