Install Python. For a list of supported versions, see http://www.sybase.com/detail?id=1068981.
Install the ctypes module if missing.
At a system command prompt, change to the SDK\Python subdirectory of your SQL Anywhere installation.
Run the following command to install sqlanydb.
python setup.py install |
To test sqlanydb, copy the sample database file to your SDK\Python directory and run a test.
copy "%SQLANYSAMP12%\demo.db" . dbeng12 demo python Scripts\test.py |
If the tests do not run, ensure that the bin32 or bin64 subdirectory of the SQL Anywhere installation is in your path.
The sqlanydb module is now ready to use.
Discuss this page in DocCommentXchange.
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |