Open a0726h77 opened 8 years ago
https://github.com/schurpf/pyhk
在 pyhk.py 中 import pythoncom
似乎是 for win32 ?
另外, 試試
pythoncom 在 pywin32 裡,所以的確是 Windows 上用的
要不也可以 pyhk 與 python_hotkeys 一起用
import sys if sys.platform == "win32": ... elif sys.platform == 'cygwin': ... elif sys.platform[:5] == 'linux': ... elif sys.platform == 'darwin': ... else: ...
http://stackoverflow.com/questions/20927131/python-module-win32com-on-linux/20927174#20927174
Great! 那我們就用這個方法來做。
試試 https://github.com/schurpf/pyhk