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

SQL Anywhere 12.0.0 » SQL Anywhere Server - Programming » Python support


Installing Python support on Windows

 To prepare your computer
  1. Install Python. For a list of supported versions, see [external link]

  2. Install the ctypes module if missing.

 To install the sqlanydb module on Windows
  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, copy the sample database file to your SDK\Python directory and run a test.

    copy "samples-dir\demo.db" .
    dbeng12 demo
    python Scripts\

    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.