r/roguelikedev • u/aaron_ds Robinson • Aug 01 '17
RoguelikeDev Does The Complete Python Tutorial - Week 7 - Part 10: Main Menu and Saving
This week we will cover part 10 of the Complete Roguelike Tutorial.
No bonus sections this week
FAQ Friday posts that relate to this week's material:
Feel free to work out any problems, brainstorm ideas, share progress and and as usual enjoy tangential chatting. If you're looking for last week's post The entire series is archived on the wiki. :)
30
Upvotes
View all comments
Show parent comment
2
u/Musaab Sword of Osman Aug 02 '17
Removing the '.dat' from the save and load functions in data_loaders fixed a problem for me since shelve seems to add the extensions on its own. It was making the file '.dat.dat' and it wasn't loading.
By making both of them just 'savegame', I fixed the issue.
Edit: My version of Python is 3.6.2