python 2.7 - write and read a list from file,my_list = [line.rstrip('\n') for line in f]