mercredi 4 novembre 2015

Creating a Read/Write File in Python

As part of my school work, I'm creating a football/soccer league table and need to save and import variables. I need to take one variable (for example a variable for the number of points for a team) and save it to a file. Then, when adding to the variable, retrieve the variable and add to it. Then save it back to the file. I'm not sure how to do that or whether that is the best option for me. Any help will be appreciated.

Aucun commentaire:

Enregistrer un commentaire