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


Groups > comp.lang.python > #51482

import syntax

Date 2013-07-29 15:48 -0400
From Devyn Collier Johnson <devyncjohnson@gmail.com>
Subject import syntax
Newsgroups comp.lang.python
Message-ID <mailman.5258.1375127678.3114.python-list@python.org> (permalink)

Show all headers | View raw


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

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


Thread

import syntax Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-29 15:48 -0400

csiph-web