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

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere Python Database support

 

Installing sqlanydb on Windows

♦  To prepare your computer
  1. Install Python 2.4 or later.

  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 setup.py install
  3. 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.