Re: [python-win32] Can win32com handle this one?

2008-02-07 Thread David Abrahams
on Thu Feb 07 2008, Tim Golden wrote: > David Abrahams wrote: >> Is there somewhere a summary of criteria by which I'd choose win32com or >> comtypes? > > Not that I know of. I offer a so-obvious-as-to-be-almost-unneeded > list here. It's entirely like

Re: [python-win32] Can win32com handle this one?

2008-02-06 Thread David Abrahams
on Mon Feb 04 2008, "Mark Hammond" wrote: >> > >> > ob = win32com.client.Dispatch(s.GetProvider()) >> > >> > to see if it does support IDispatch, >> >> Hmm, thanks, I guess it doesn't: >> >> 'PyIUnknown' object has no attribute 'GetTypeInfo' >> >> > in which case you could then start cal

Re: [python-win32] Can win32com handle this one?

2008-02-04 Thread David Abrahams
on Mon Feb 04 2008, "Mark Hammond" wrote: >> I have a couple of type libraries that I've run makepy on. >> >> The first can be loaded with >> >> s = win32com.client.Dispatch('nameof.Lib1') >> >> I have verified that the above gets the ILib1Session object, which >> the documentation for that

Re: [python-win32] Can win32com handle this one?

2008-02-04 Thread David Abrahams
on Mon Feb 04 2008, Tim Roberts wrote: > David Abrahams wrote: >> I have a couple of type libraries that I've run makepy on. >> >> The first can be loaded with >> >> s = win32com.client.Dispatch('nameof.Lib1') >> >> I have verifi

[python-win32] Can win32com handle this one?

2008-02-04 Thread David Abrahams
I have a couple of type libraries that I've run makepy on. The first can be loaded with s = win32com.client.Dispatch('nameof.Lib1') I have verified that the above gets the ILib1Session object, which the documentation for that library says is the entry point for everything. The documentation