So, now checked with pep8. Only a few errors which were already there remain