How to place several "import ...." lines in one .py file?

Ian Kelly ian.g.kelly at
Thu Jul 24 22:45:38 CEST 2014

On Thu, Jul 24, 2014 at 2:25 PM, fl <rxjwg98 at> 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:

More information about the Python-list mailing list