0

What data structure to work with? (Python 3)

I want to input groceries and then get suggestions on recipes that can be made. For this I need to compare two data sets, right? What data structure can I use? .csv files or a SQL database? Any suggestions are welcome!

3rd Sep 2017, 10:53 AM
Jeroen Groeneveld
Jeroen Groeneveld - avatar
1 ответ
+ 1
I think it's just a matter of your preference of data storage. Python works with both .csv files and database quiet well. With python3 you can use the package PyMySQL(https://pypi.python.org/pypi/PyMySQL) to deal with MySQL server. Hope this could help~
5th Sep 2017, 6:51 AM
Ren Li
Ren Li - avatar