Ensure one blank newline (PEP8 W292)
Use 'cond is' instead of 'cond ==' (PEP8 E712)
Only one statement per line (PEP8 E701)
Remove redundant backslashes (PEP8 E502)