Modify python to be pep8 compliant

This mostly adds spaces.
Merge pull request #581 from ggarza/python_pep8

[python/en] Modify python to be pep8 compliant