I want to build a Dream Journal in Python/Tkinter. So far I’m just working on the general structure and right now I have to decide how to store my entries.
I want to write down the dream itself, which will obviously be a long text, but I also want to add a title, date, lucidity, etc.
At first I thought about using just JSON, but then I would have the dream saved as one very long line and I feel like its going to be messy, unreadable and not the best. Then I thought about saving the dream as a separate text file and in the JSON file I don’t add the entire text anymore, but just the path to the corresponding text file.
I don’t know if this is the best way to store data in a situation like this, do you have any suggestions on how to to it most efficiently/elegantly ?
I hope it’s clear what I mean, otherwise please ask what’s still unclear.
Thanks in advance for any answer
user20307816 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.