I am creating a small text based adventure with a friend. We are going to be creating different levels on different files. How would I write the variables created in level 1 and read them to have the name and exp for the next level?
Asked
Active
Viewed 18 times
0
-
2https://stackoverflow.com/questions/5568904/saving-the-state-of-a-program-to-allow-it-to-be-resumed – Cory Kramer Jul 31 '15 at 16:05
-
1https://docs.python.org/2/tutorial/inputoutput.html#reading-and-writing-files – marsh Jul 31 '15 at 16:05
-
You might consider using a small database like sqlite. – Brobin Jul 31 '15 at 16:12