Python membaca file tanpa newline

# converts read file into a list without newlines
temp = file.read().splitlines()
Evang