Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75178
| References | <5061f92b-4626-4e64-aeb2-0ad68904eef0@googlegroups.com> |
|---|---|
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | 2014-07-24 14:45 -0600 |
| Subject | Re: How to place several "import ...." lines in one .py file? |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.12299.1406234787.18130.python-list@python.org> (permalink) |
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