Order the answer to: Until now, you have had to leave your team management programrunning on your computer indefinitely s

Academic Help net programming Order the answer to: Until now, you have had to leave your team management programrunning on your computer indefinitely s

net programming

Order the answer to: Until now, you have had to leave your team management programrunning on your computer indefinitely s

Question Until now, you have had to leave your team management programrunning on your computer indefinitely since you did not want tolose the list of players. Finally, you are ready to add thecomponents to your team management program that will allow you tostore the player’s information on your computer’s hard drive, thus,allow you to shut down your program without losing your data.

include a Save option in the main menu which will prompt theprogram to write the player’s data to a text file.
modify the startup code so that the program calls a functionthat reads the player’s data from the text file into the list ofmember objects.
Tips: Think about how you are going to write the data to thetext file when you create the load function. Your write functionneeds to read in the data in the same pattern as the load function,otherwise the data will get jumbled.

C:>python week6.py
Welcome to the Team Manager
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
5. Save Data.
6. Load Data.
9. Exit Program.
Selection> 2
Enter new member’s name: Nathan
Contact phone number: 505-908-0670
Jersey number: 21
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
5. Save Data.
6. Load Data.
9. Exit Program.
Selection> 2
Enter new member’s name: Bobby
Contact phone number: 541-241-0670
Jersey number: 44
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
5. Save Data.
6. Load Data.
9. Exit Program.
Selection> 5
Filename to save: members.txt
Saving data…
Data saved.
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
5. Save Data.
6. Load Data.
9. Exit Program.
Selection> 9
Exiting Program…
C:>python week6.py
Welcome to the Team Manager
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
5. Save Data.
6. Load Data.
9. Exit Program.
Selection> 1
No current members in memory.
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
5. Save Data.
6. Load Data.
9. Exit Program.
Selection> 6
Filename to load: members.txt
Loading data…
Data Loaded Successfully.
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
5. Save Data.
6. Load Data.
9. Exit Program.
Selection> 1
Name: Bobby
Phone: 541-241-0670
Jersey Number: 44
Name: Nathan
Phone: 505-908-0670
Jersey Number: 21
===========Main Menu===========
1. Display Team Roster.
2. Add Member.
3. Remove Member.
4. Edit Member.
5. Save Data.
6. Load Data.
9. Exit Program.
Selection>9
Exiting Program…

Attached

Subject net programming
Ready to try a high quality writing service? Get a discount here