I was trying to read dats from excel sheet using python, due to some constraints i'm not able to use external libraries. I'm doing it with from Microsoft.Office.Interop import Excel. Now I'm able to read the datas from sheet by defining them explicitly. like,
x1=ws.Rows[3].Value2[0,0]
y1=ws.Rows[3].Value2[0,1]
z1=ws.Rows[3].value2[0,2]
x2=ws.Rows[4].value2[0,0]
y2=ws.Rows[4].value2[0,1]
z2=ws.Rows[4].value2[0,2]
x3=ws.Rows[5].value2[0,0]
y3=ws.Rows[5].value2[0,1]
z3=ws.Rows[5].value2[0,2]
x4=ws.Rows[6].value2[0,0]
y4=ws.Rows[6].value2[0,1]
z4=ws.Rows[6].value2[0,2]
But I want to loop it. How to loop it? at the end i need values in variables.