Rami Chowdhury wrote: >> f = open("myfile.txt", "r") >> list_one = f.read().splitlines() >> f.close() > > Or use f.readlines(), which would do the same thing IIRC? No: readlines () retains the "\n"s; splitlines () loses them TJG