Installing pywinauto
- You first need to make sure you have the following pre-requisites
- Python 2.4 or higher (next release will support 2.3!)
- ctypes - (will be part of Python 2.5 - YEAH :-)
- SendKeys
- PIL (Optional)
- ElementTree (Optional) - (will also be included with python 2.5)
c:\Python24\python.exe setup.py install
This should now install the pywinauto package to your site-packages folder (c:\Python24\lib\site-packages\pywinauto)
Now that it is installed you should be able to run the examples or import it, e.g.
>>> import pywinauto
>>>
>>> # if you get an ImportError it probably isn't set up correctly!
>>>
>>> from pywinauto.application import Application
>>>
Comments (0)
You don't have permission to comment on this page.