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.
- The table must have one row for each playoff series
- Each row must have the team name for the winner and the loser
- 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
- It must be named yourlastname.zip
- The top-level directory must be your last name.
- You must have a .flaskenv file with the name of the application
- It must be well designed and be well documented. See the python style guide for details.
Strong recommendation:
If you have not used python before, consider using uv, a fast python package manager.