I have a text file as following:
1.25 177.
1.50 220.
2.00 272.
5.00 427.
10.00 556.
25.00 763.
50.00 916.
and i want to read second last value from second column. I can move onto line of interest but somehow can't figure out a way to read required value. Any help would be appreciative.
a = open("test.txt","r")
b = a.readlines()
a.close()
count = 0
for line in b:
count += 1
if count > 6:
print line,