"In Python, is it possible to escape newline characters when printing a string?",print('foo\nbar'.encode('string_escape'))