open('test_newlines.txt', 'rb').read()
list(open('test_newlines.txt'))
list(open('test_newlines.txt', 'U'))
open('test_newlines.txt').readlines()
open('test_newlines.txt', 'U').readlines()
open('test_newlines.txt').read().split()
Python . How to get rid of '\r' in string?