Leia o arquivo de texto Python Path aberto

with open('readme.txt') as f:
    lines = f.readlines()
Code language: JavaScript (javascript)
DreamCoder