I am making a small text based game, and I want to save the game and load the data at a later date. I managed to have the game create a text file that stores all of the variables and their values in a format like this:
first_name = "Name"
last_name = "Last Name"
bank = 10000
...
When I select load, I want it to read the text and assign the appropriate variables. Can I do this?