This project is a simple football player management system that allows coaches to add, search, delete, and edit player information stored in a CSV file. Fans can only search for player information.
- Add Player: Coaches can add a new player's information including backnumber, name, team, and age.
- Search Player: Both coaches and fans can search for a player by backnumber, name, team, or age.
- Delete Player: Coaches can delete a player's information by backnumber.
- Edit Player: Coaches can edit a player's information by backnumber.
- Python 3.x
csv
modulereplit
moduleprettytable
module
- Clone the repository.
- Navigate to the project directory.
- Run the
finalproject.py
script.
python finalproject.py
- Start the program and enter
yes
when prompted. - Select
coach
and enter the password2135647
. - Choose an action: add, search, delete, or edit a player.
- Follow the prompts to complete the action.
- Start the program and enter
yes
when prompted. - Select
fan
. - Choose to search for a player by backnumber, name, team, or age.
- Enter the search criteria to view the player's information.
The player information is stored in a CSV file named About_player.csv
with the following columns:
backnumber
name
team
age
Example:
backnumber,name,team,age
1,son,spar,29
4,harry,spar,25
4,Arker,Myanmar,29
2,messi,psg,39
5,Son,Brazil,23
This project is licensed under the MIT License.