opening excel

John Machin sjmachin at lexicon.net
Thu Nov 9 13:51:49 EST 2006


wesley chun wrote:
> > has anybody got any experience opening and manilpulating excel
> > spreedsheets via python? it seems pythoncom allows this to happen
>
>
> i posted a couple of snippets along with others in this earlier thread:
>
> http://groups.google.com/group/comp.lang.python/browse_thread/thread/a7ed60067ca5a8d4
>
> the XLRD package is a platform-independent non-COM way to *extract*
> Excel data. you mentioned opening and manipulating spreadsheets
> *using* COM, so there are more examples targeted towards what you were
> asking for at that link.

What makes you so sure that's what the OP was asking for?

"mentioned" != "asking for".

Did you not notice his last sentence, "all i need to do, is open the
xls files and read values from it."?

>
> i added a small section on Win32 COM client programming to the Core
> Python book, and although it doesn't go extremely in-depth, it's
> perfectly targeted to "newbs" coming from the Unix world, as was i.
>
> hope this helps!
> -- wesley
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> "Core Python Programming", Prentice Hall, (c)2007,2001
>     http://corepython.com
>
> wesley.j.chun :: wescpy-at-gmail.com
> python training and technical consulting
> cyberweb.consulting : silicon valley, ca
> http://cyberwebconsulting.com




More information about the Python-list mailing list