続き

pywin32インストール時のアレコレ
https://stackoverflow.com/questions/20113456/installing-win32gui-python-module
自分の環境だと↓こうだった
「C:\Python27>python.exe c:\python27\scripts\pywin32_postinstall.py -install」

pywin32_postinstall.pyのオプション
Options:
-install : Configure the Python environment correctly for pywin32.
-remove : Try and remove everything that was installed or copied.
-wait pid : Wait for the specified process to terminate before starting.
-silent : Don't display the "Abort/Retry/Ignore" dialog for files in use.
-quiet : Don't display progress messages.

Python: Get caret position
Windowsのキャレット位置取得の話
https://stackoverflow.com/questions/19724360/python-get-caret-position

実験環境(ReactOS0.4.8-dev+Python2.7.14 on VirtualBox5.2.6 on Win10_64)でstackoverflowのサンプルコード走った
結果、クライアント座標としてキャレット位置が手に入る。かな漢字変換の変換窓を作るのに使えると思われ
※ ブラウザのキャレット位置取得問題は魔境っぽいんでパス