I have searched and cannot find the answer to this even though I am sure it is already out there. I am very new to python but I have done this kind of stuff before in other languages, I am reading in line form a data file and I want to store each line of data in it's own tuple to be accessed outside the for loop.
tup(i) = inLine
where inLine
is the line from the file and tup(i)
is the tuple it's stored in. i
increases as the loop goes round. I can then print any line using something similar to
print tup(100)