Ver originalwith open("archivo.txt", "r") as f: lines = f.readlines() print lines[1] #Linea 2 print lines[3] #Linea 4