Always put import statements (including from x import y) at the
top of a file.
Always use absolute names for modules when importing them, not
names relative to the current module’s own path. For example, to
import the foo module from within the bar package, you should
use from bar import foo, not just import foo.
If you must do relative imports, use the explicit syntax
from . import foo.
Imports should be in sections in the following order: standard
library modules, third-party modules, your own modules. Each
subsection should have imports in alphabetical order.
