Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75178
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.014 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'subject:file': 0.07; 'subject:How': 0.10; '24,': 0.16; 'subject:import': 0.16; 'subject:several': 0.16; 'url:pep-0008': 0.16; 'url:peps': 0.16; 'appropriate': 0.16; 'wrote:': 0.18; 'module': 0.19; 'thu,': 0.19; 'import': 0.22; 'subject: .': 0.24; 'url:dev': 0.24; 'this:': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'header,': 0.31; 'file': 0.32; 'url:python': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'subject:one': 0.36; "i'll": 0.36; 'subject:?': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'two': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'most': 0.60; 'jul': 0.74 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=KxChhMsbFoenGmkX1MqYpgKcDF+WrToKEHbpA/XRByo=; b=GxH/kUQNYgMYxhHAizSTVgRrktZsMStW7EwjEQVjJhdA/4lZvqHZT90NCk50XF/xCe UQaKpS3XCmWT9SEgP8hObuZjzdP5ZhM1wxUrOeCqYklxFE5CYJlcxR7aJvdPKWkNbFp5 s6umlULFUij7E0X86vlvejSusjtUR2Q8lknRn21YjavUHtRlL3QCyyCaskob97Htlh+1 c1mlSg5nkkomKbIug6BQ0MWSloD6pMSdWjaVyqw/2TjwXrBHiG3rT7QfVum0pJxynLxR MgXrqgqB7fyOpv6ZsJrNxGNK3dKWPQ2XWqqW5mRwTfjXFUco2sPD4QaDrdgj8dmjzF7f 8OPg== |
| X-Received | by 10.66.237.2 with SMTP id uy2mr6061420pac.157.1406234779133; Thu, 24 Jul 2014 13:46:19 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <5061f92b-4626-4e64-aeb2-0ad68904eef0@googlegroups.com> |
| References | <5061f92b-4626-4e64-aeb2-0ad68904eef0@googlegroups.com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Thu, 24 Jul 2014 14:45:38 -0600 |
| Subject | Re: How to place several "import ...." lines in one .py file? |
| To | Python <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.12299.1406234787.18130.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1406234787 news.xs4all.nl 2892 [2001:888:2000:d::a6]:34689 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:75178 |
Show key headers only | View raw
On Thu, Jul 24, 2014 at 2:25 PM, fl <rxjwg98@gmail.com> wrote: > Hi, > > I have seen several kinds of module import examples, but most of the programs are > small and less content. They only have one or two module import. > > I'll use the following modules in a small project. I would like to know whether > it is appropriate to put all of them at the file header, like this: http://legacy.python.org/dev/peps/pep-0008/#imports
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
How to place several "import ...." lines in one .py file? fl <rxjwg98@gmail.com> - 2014-07-24 13:25 -0700 Re: How to place several "import ...." lines in one .py file? Ian Kelly <ian.g.kelly@gmail.com> - 2014-07-24 14:45 -0600
csiph-web