Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Programming » Python support


Installing Python support on Windows

Python support can be set up on Windows by running the applicable setup python script from the SDK\Python subdirectory of your SQL Anywhere installation.


Ensure that Python and the ctypes module are installed. For a list of supported versions of Python, see [external link]

  1. At a system command prompt, change to the SDK\Python subdirectory of your SQL Anywhere installation.

  2. Run the following command to install sqlanydb.

    python install
  3. To test sqlanydb, make a copy of the sample database file in your current directory and run a test.

    dbsrv16 demo
    python Scripts\

    The test script makes a connection to the database server and executes a SQL query. If successful, the test displays the message sqlanydb successfully installed.

    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.