Код: Выделить всё
file = open('C:\\some_text.txt')
print file.readlines()
print file.readlines()
Подробнее здесь: https://stackoverflow.com/questions/210 ... -in-python
Код: Выделить всё
file = open('C:\\some_text.txt')
print file.readlines()
print file.readlines()