[Tutor] Reading Excel Files
Alan Gauld
alan.gauld at btinternet.com
Wed Jun 23 08:51:23 CEST 2010
"Carlos Daniel Ruvalcaba Valenzuela" <clsdaniel at gmail.com> wrote
> I was wondering if anyone has worked with excel 2007 files
> (importing
> data from), I have done so for old format (xls) via a number of
> modules like xlrd and the old pyexcelerator, however none of those
> packages currently support new 2007 format, although xlrd may have
> support for it later.
It would e a radical reworking of your code but you could use COM
to access the data. That should be portable across Excel upgrades
in future too. You can do COM via the pythonwin libraries.
But it will only work if your program is running under Windows
with Excel installed on the same machine...
Just a thought,
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list