[wingide-users] Question completing for Microsoft Object Model

Mike Driscoll mdriscoll at co.marshall.ia.us
Mon Apr 4 08:08:37 MDT 2011


On 1:59 PM, reckoner wrote:
>
> Hi,
>
> 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.
>
> Thanks!
>
>
>

Probably because Pythonwin was specifically designed for or with the 
PyWin32 package (and Windows) in mind whereas Wing is a cross-platform 
application.

- Mike



More information about the wingide-users mailing list