Creating List From File In Python,your_list = [int(i) for i in f.read().split()]