file = open("list.txt", "r", encoding="Latin-1").readlines() file = [combos.rstrip() for combos in file] for lines in file: data = lines.