Does MS Office need to be installed to use pywin32 for editing Excel docs?

Astley Le Jasper astley.lejasper at gmail.com
Tue Jun 15 04:58:21 EDT 2010


On Jun 15, 10:44 am, Tim Golden <m... at timgolden.me.uk> wrote:
> On 15/06/2010 09:32, Astley Le Jasper wrote:
>
> > Does pywin32 use elements from Windows itself, or excel when
> > dispatching?
>
> Yes: it's simply exposing to the Python user the API provided
> by MS Office (or whatever other app) via the IDispatch COM
> mechanism.
>
> IOW, if you don't have Microsoft Excel installed, this won't work:
>
> import win32com.client
> win32com.client.Dispatch ("Excel.Application")
>
> TJG

Hi Tim,

Thanks for that.

ALJ



More information about the Python-list mailing list