Jun-19-2017, 09:16 AM
I made a simple text fighting game.but i need to be able to save and load variables.i was tols to use pickle. But i have no experience in what it even is.i googled arouns but i can't understand how it works
Basicly i have some variables
And need to save them to a file.then load them
Thanks
Basicly i have some variables
And need to save them to a file.then load them
name=str(jonathan) Damage=int(10) # and so on and ao forth.these variablea change depending on level.i need to be able to save them to a file which is named (name).so here it will be called jonathan.later read these variables and set health and such accordingly to continue playing.simple things as im really newPlease help
Thanks