????????Pywinauto??

????Pywinauto?????Python?????????????????????????飬?????????Windows?????ν??檔?????????????????????????????????Windows???????????

???????У???????????windows???????????ж????????????????????????????????????????????????????????????????????????????????ó????????pywinauto????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????ж?????????????????????

??????????

???????

????Pywinauto???????CPython????python?????飬????????C??????????????JPython????????

????Python for windows ??飬???windows api?????????????python???????е?ctypes??win32api????api??????????÷?????????????????

???????

??????????????????????????????????????application.py?С?????Application????ж??????????????WindowSpecification??????????????????????

????HwndWrapper?.py??win32_controls.py??menuwrapper.py??common_controls.py???Pywinauto???????????????塣???????HwndWrapper???ж????????ж??????е???????????????塣?????????????У???HwndWrapper????Щ????????????????????????????????????????????????????????????????????handleprops.py??controlsproperties.py????С?

????Win32defines.py??win32functions.py??win32structures.py????У??pywinauto????????????????????????????????python??ctypes?????????????Ctypes???з????????????C?????????????windows api????????????飬???????????python??????????????python????????в?????

????????????

????????????????????


app = application.Application()
app.start_( )
app.window.control.Click()
app[window][control].Click()