Opinions, please, on PEP 8 and local, 3rd party imports
Francesco Bochicchio
bieffe62 at gmail.com
Sat Oct 3 03:02:16 EDT 2009
On Oct 2, 9:50 pm, Philip Semanchuk <phi... at semanchuk.com> wrote:
> Hi all,
>
> PEP 8 <http://www.python.org/dev/peps/pep-0008/> says the following:
>
> Imports should be grouped in the following order:
> 1. standard library imports
> 2. related third party imports
> 3. local application/library specific imports
>
> I'm not sure in which category to place local, 3rd-party modules like
> configobj.
>
>
...
> Clearly, the best choice is category 2.5?
>
Actually 2.5 is doable :-)
I translate it as "just after any of 2 and before any of 3"
Ciao
----
FB
More information about the Python-list
mailing list