Escape sequences don't seem to work in strings within list comprehensions: >>> print ['%s\n' %i for i in [1,2,3]] ['1\n', '2\n', '3\n'] What am I missing? Thank you.