import syntax

Devyn Collier Johnson devyncjohnson at
Mon Jul 29 21:48:48 CEST 2013

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?


Devyn Collier Johnson
DevynCJohnson at

More information about the Python-list mailing list