Due: 11:59 pm on 10/25/2025

Assignment 6

Write a python program using flask to access the baseball database. Use a configuration file named csi3335.py with a dictionary called mysql which contains 4 keys - host, user, password and database. For example, the dictionary may look like:

mysql = {'host':'localhost','user':'web','password':'mypass','database':'baseball'}. Do not include your file. We will use our own.

The program must create an HTML table with the playoff results for 2025.

  1. The table must have one row for each playoff series
  2. Each row must have the team name for the winner and the loser
  3. Each row must have the number of games won by each team
The flask environment must have a routes.py file and a templates directory.

Your assignment should be a zip file containing the flask directory and the your code meeting the following criteria

Strong recommendation: If you have not used python before, consider using uv, a fast python package manager.