Session 9 Exercise — Oracle Connection

Optional enrichment — complete during the session if time allows, or finish independently on your fork.

GSU network required (GSU WiFi on campus, or VPN if off campus).

Your Task

  1. Load student_report/.env
  2. Connect to Oracle using LightOracleConnection
  3. Query the first 10 rows of the zipcode table
  4. Print the result

Starter Script

Open session_09_exercise.py and fill in the blanks marked with # TODO:. If you get stuck, the completed version is at session_09_answer.py.

Run from the repo root:

python exercises/session_09_exercise.py