python / COM question

Mark Hammond mhammond at
Sat Mar 25 09:31:57 CET 2000

The interface used must be IDispatch.

If this is true, then your example is simply written as:

y, m, d = ob.GetDate()

"David A. Rogers" <darogers at> wrote in message
news:slrn8dntd2.31.darogers at
> I'm learning COM and want to use python to test the objects I'm
creating.  I
> immediately ran into a problem.
> I have an interface with a function like so:
> STDMETHOD(GetDate)(int* year, int* month, int* day);
> How do I call this from python when all python functions are pass by
> Thanks for any help,
> dar

More information about the Python-list mailing list