SAP GUI Scripting Library
Table of contents
Python installation
- Download last version of Python 3.x installer
- Run the installer
- While installation choose folowing option:
- Add python 3.x to PATH
Install
Pip installation (recomended)
Installation is easy. Run in windows console (command line interpreter - cmd):
pip install PySapGUI
If your computer is behind a proxy set additional option --proxy in following format:
pip install sapsec --proxy http://user:password@proxyserver:port
Installation from github
If for some reason the installation was not successful (with pip) there is an opportunity to install sapsec from github source files.
- Download zip archive with project source codes. Or use git clone:
git clone https://github.com/gutskodv/PySapGUI.git
- Unpack files from dowloaded zip archive. And go to project directory with setup.py file.
- Ugrade pip, Install Wheel package, Collect sapsec package:
python -m pip install --upgrade pip
pip install wheel
python setup.py bdist_wheel
- Install sapsec package from generaed python wheel in dist subdirectory:
python setup.py dist\PySapGUI*.whl
Requirements
You can manually intall requirements if they were not installed in automatic mode.
- PyWin32 (Python extensions for Microsoft Windows Provides access to much of the Win32 API, the ability to create and use COM objects, and the Pythonwin environment).
pip install pywin32