You're best bet for parsing Excel files would be the xlrd library. The python-excel.org site has links and examples for xlrd and related python excel libraries, including a pdf document that has some good examples of using xlrd. Of course, there are also lots of related xlrd questions on StackOverflow that might be of use.
One caveat with the xlrd library is that it will only work with xls
(Excel 2003 and earlier versions of excel) file formats and not the more recent xlsx
file format. There is a newer library openpyxl for dealing with the xlsx
, but I have never used it.
UPDATE:
As per John's comment, the xlrd library now supports both xls
and xlsx
file formats.
Hope that helps.