Running MakePy and make context help working

nicooo
2007-10-22
2013-03-15
  • nicooo
    nicooo
    2007-10-22

    I'm doing COM programming and use the MakePy utility on Windows (PythonWin Editor --> tool).
    Based on the article http://www.oreilly.de/catalog/pythonwin32/chapter/, I'm trying to have context help on a COM object.
    For example:

    import win32com.client
    xl=win32com.client.Dispatch("Excel.Application")
    xl.Visible=1
    x1.<CTRL-Space for help>

    Any idea?

    Thanks,
    Nicolas

     
    • Fabio Zadrozny
      Fabio Zadrozny
      2007-10-22

      From your code it appears that Dispatch is a function, and as such, pydev is not able to get information by doing static analysis on it... That's a shortcoming of non-types languages (there's probably not much to do about it).

      Cheers,

      Fabio

       
  • Udo Weik
    Udo Weik
    2011-05-27

    Hello all,

    I have exactly the same question - the only difference four years later…

    Thanks for any hint
    uwg