Apr-13-2019, 12:45 PM
hello, I'm new here, and new to python. so please be patient with me lol
I'm making an app to track my cycling miles. I need to be able to load saved "miles" from a file and set the int to a global variable to be used by the app, and the reverse when miles are added I need to save or update the save file.
easiest way would be great, I'm new and its just a simple app. iv researched several ways to do it, but its all confusing to me.
any help would be greatly appreciated. Thank you!![Big Grin Big Grin](https://python-forum.io/images/smilies/biggrin.png)
![Smile Smile](https://python-forum.io/images/smilies/smile.png)
I'm making an app to track my cycling miles. I need to be able to load saved "miles" from a file and set the int to a global variable to be used by the app, and the reverse when miles are added I need to save or update the save file.
easiest way would be great, I'm new and its just a simple app. iv researched several ways to do it, but its all confusing to me.
any help would be greatly appreciated. Thank you!
![Big Grin Big Grin](https://python-forum.io/images/smilies/biggrin.png)