Problem setting COM property using win32com

Paul Prescod paul at
Mon Apr 7 20:39:14 CEST 2003

Green, Gregory P wrote:
> I am creating the object like so:
>    attrs = win32com.client.Dispatch("SmRecList.SmRecordList")
> I hadn't noticed the dynamic. I guess I can try to force early binding.

Do some introspection on the objects to see whether they are makepy 
objects or dynamic objects. Probably if you print out the __class__ or 
dir() of the objects you'll get a strong hint.

  Paul Prescod

More information about the Python-list mailing list