How to use the win32gui module with Python?

前端 未结 2 1634
梦毁少年i
梦毁少年i 2020-12-31 07:32

Im my Python file, I have imported the win32gui module like this:

import win32gui

I have also downloaded win32gui

相关标签:
2条回答
  • 2020-12-31 07:47

    When on a windows platform, I usually go for the executables. They should work all the time. Try perhaps one of the files listed here:

    http://sourceforge.net/projects/pywin32/files/pywin32/Build216/

    It's the most recent build. Choose the one appropriate to your Python's version.

    0 讨论(0)
  • 2020-12-31 08:02

    this is a module from Marc Hammond's well-known pywin32 extension module, you can also get the source and compile it quite easily (I found I needed to do this because I needed a 64 bit build and couldn't find one at the time). The mercurial address to get it is:

    http://pywin32.hg.sourceforge.net:8000/hgroot/pywin32/pywin32

    there are visual studio project files in the .\pywin32\win32 directory...

    0 讨论(0)
提交回复
热议问题