numArray = [] with open(PATH) as file: for line in file: numArray.append(line.split(' '))