I seldom have to write something like
from blqblq.lqlqlqlq.bla import fobarbazbarbarbazar as foo
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
which takes more than 80 characters. This situation is not covered in the official Python coding style guide. How do I write such imports pythonically?
http://www.python.org/dev/peps/pep-0008/#maximum-line-length
So in your case this could be:
Personally I always use this style which I find more readable with long lines:
This is the
PEP8
documentation for long imports: