PythonCOM and Office. Arrgh!

Matthew matthewm at ihug.co.nz
Wed Jul 11 08:51:44 CEST 2001


There's hope yet.

This amongst other calls to PythonCOM do work

>>> xlapp.Workbooks.Open("D:\\fred.xls",None,1,None,'fred')
<COMObject Open>

Read only with password does as it should

So far as I've tried, 'in order' parameters do definitely work. It's a start
but I'd like to figure why named keyword stillappesr to do nothing. Keep those
interested posted...matthew

PS: Config is win200, Office97 and ActiveState2.0/2.1

Emile van Sebille wrote:

> On that machine I've got build 135 installed.
>
> I'm not sure if this is it, but Password does appear in the file created by
> makepy.py.  Have you run that?  I renamed my copies here and it didn't give
> me an error afterwards, so it probably won't help you at all.
>
> Other than that, I don't know what else may be going on.
>
> --
>
> Emile van Sebille
> emile at fenx.com
>
> ---------
> "Matthew" <matthewm at ihug.co.nz> wrote in message
> news:3B4BB11B.97268EC2 at ihug.co.nz...
> > So, definitely looks like a config issue of some kind. Just out of
> > interest, what build of win32all are you running with 1.5.2? As Bill
> > rightly noted from my original post , passing keyword args does
> > absolutely nothing under my combos of win/python/win32all - no error,
> > nor 'effect'. I'm begining to wonder whether Office97 PythonCOM stuff
> > only works with similar vintage win32all builds. Will check it out and
> > report back. any other ideas? regards, matthew.
> >




More information about the Python-list mailing list