[wingide-users] Question completing for Microsoft Object Model

Wing IDE Support support at wingware.com
Mon Apr 4 09:02:12 MDT 2011


On 4/1/11 6:56 PM, reckoner wrote:
> When I'm using Pythonwin, I can create the following kinds of programs:
>
> word = win32.gencache.EnsureDispatch('Word.Application')
> doc = word.Documents.Add()
> word.Visible = True
> rng = doc.Range(0,0)
> rng.InsertAfter('Hacking Word with Python\r\n\r\n')
>
>
> and I can complete on the individual items. For example, I can do
> doc.<TAB> and a long list of object properties and methods will appear.
> Why can I not do this with Wing? I'm using Wing Pro version 3.2.2-1 (rev
> 21060) (rev 21060) on a 32-bit windows xp machine.

Do the methods appear in the Wing's Python Shell or Debug Probe?  These 
inspect the live runtime state of the process, which I think is what 
Pythonwin does (though it's been years since I looked at it).

Thanks,

John


More information about the wingide-users mailing list