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.
from win32com.client import Dispatch
flxls = "c:\\my\\file.xls"
xl = Dispatch ("Excel.Application")
xl.Visible = True
xl.Workbooks.Open(flxls)
workbook = xl.ActiveWorkbook
sheet = xl.ActiveSheet
param_1 = sheet.Cells(1,1).Value
workbook.Close()
xl.Quit()
_______________________________________________
BangPypers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/bangpypers