expand PEP 8 checks

Include EC2 script and Python examples.
PEP 8 fixes
PEP 8 fixes to Python examples