файл чтения Python в списке строк
# read file in a string list
with open(fileName) as f:
lineList = f.readlines()
Gifted Gannet
# read file in a string list
with open(fileName) as f:
lineList = f.readlines()