Install Python 2.4 or later.
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 "samples-dir\demo.db" . dbeng11 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. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |