Extension Module for Python Configuration Overview
Complete basic configuration tasks for a Python application to make a
connection and execute commands.
Python module search path
The name and address of the target server
Security and Directory Services
Runtime configuration through the ocs.cfg file
Python Module Search Path
Python searches for an imported module in the list of directories given by the Python variable sys.path.
Target Server Name and Address
When the Python application connects to Adaptive Server, the name of the target server is obtained from one of these sources.
Security and Directory Services
The directory driver or security driver should be configured in the libtcl.cfg file in these sections.
Runtime Configuration
Use the runtime configuration file ocs.cfg to set these values.