Check out win32com (I am assuming you want to do this from a Windows machine). Here is a small snippet on reading the value from cell A1 in the active sheet.<div><br></div><div><div>from win32com.client import Dispatch</div>
<div>flxls = "c:\\my\\file.xls"</div><div>xl = Dispatch ("Excel.Application")</div><div>xl.Visible = True</div><div>xl.Workbooks.Open(flxls)</div><div>workbook = xl.ActiveWorkbook</div><div>sheet = xl.ActiveSheet</div>
<div>param_1 = sheet.Cells(1,1).Value</div><div>workbook.Close()</div><div>xl.Quit()</div></div>