The pep8 standards suggest using [parentheses instead of line-continuation] (http://www.python.org/dev/peps/pep-0008/#maximum-line-length), and the ```!=``` doesn't seem to be worthy of it's own line.