The spaces are actually recommended by PEP8: http://www.python.org/dev/peps/pep-0008/#imports point 2