Reputation: 5759
I am playing around with python and thought I would make a simple language learning program... ie: lanuageA | languageB | type of word | synonym | antonym |
basically flash cards...
I have made a crude version using python and json, and have just started playing with sqlite3... Is a database a better way to organize the information, and for pulling things out and referencing against each other. and against user input. Or would it be easier to use nested dictionaries?
Upvotes: 2
Views: 484
Reputation: 57874
Who is going to modify your data?
Upvotes: 1
Reputation: 40424
If your data fits in memory and you only require to access elements by key, a dictionary is probably just enough for your needs.
Upvotes: 0