I'd actually go so far as to say that this is unpythonic.  Please reformat these so that they are not one-liners.  As you get used to reading python you'll find that they are more readable when done with pep8 styling