Skip to main content
Let’s create a simple Python application that queries the Regatta database. Start by adding the reference to the regatta driver:
Note that you should import all relevant classes based on the functionality of your application and its requirements.

Connection Details

Connection parameters will be defined as follows:

Example Appliaction

Below is an example of a sample application that creates an employees table, adds four rows and then selects and prints the rows. Create the main program and save it as: database_example.py

Running the Appliaction

Run the application from the directory containing your example:
Expected output: