RE: Import data from Excel

2006-05-09 Thread Tim Golden
[Dale Strickland-Clark] | from win32com.client import GetObject, constants | | def GetExcelData(self, strFilePath): | """ Extract the data from the Excel sheet. | Returns tuple of tuples representing the rows and cells.""" | # The following line extracts | # all the data from she

Re: Import data from Excel

2006-05-09 Thread Mirco Wahab
Hi, > Is it possible to import data from Excel for > doing numerical analysis in Python? If so how? use John Machins glamouros 'xlrd' http://www.lexicon.net/sjmachin/xlrd.htm form his documentation: import xlrd book = xlrd.open_workbook("myfile.xls") print

Re: Import data from Excel

2006-05-09 Thread Dale Strickland-Clark
rom sheet 1 of the spreadsheet return GetObject(strFilePath).Sheets(1).UsedRange.Value N/A wrote: > Hi, > Is it possible to import data from Excel for doing numerical analysis in > Python? If so how? Thank u! -- Dale Strickland-Clark Riverhall Systems - www.riverhall.co.uk --

Re: Import data from Excel

2006-05-08 Thread N/A
sorry, can you say it more clearly? In Matlab, I can easily import data from Excel just simply use 'xlsread' command. How to do that in Python environment? thank u! Paddy wrote: > The CSV module? > -- http://mail.python.org/mailman/listinfo/python-list

Re: Import data from Excel

2006-05-08 Thread Paddy
The CSV module? -- http://mail.python.org/mailman/listinfo/python-list

Import data from Excel

2006-05-08 Thread N/A
Hi, Is it possible to import data from Excel for doing numerical analysis in Python? If so how? Thank u! -- http://mail.python.org/mailman/listinfo/python-list