creating list from file in python,your_list = [int(i) for i in f.read().split()]