Data Storage in Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Data Storage in Python

I'm looking for an efficient way to store a decent amount of data in Python. I've got items that need up to 20 different attributes associated with them. I know that I can probably use dictionaries, or classes. Is there another method which I'm not aware of? I understand that python probably isn't the best language to be doing it in, and something like SQL would be better. However, I'm still relatively new with coding in general, and this project is for me to learn and practice, rather than actually use.

24th Mar 2018, 11:15 AM
Brendan Balderson
Brendan Balderson - avatar
3 Answers
+ 1
I think that databases is the way to go here. Depending on what you need to do you could also do automations to the database with python. They do work hand in hand. I recommend checking tutorials on db setup and how to control databases with python(if you need/want to)
24th Mar 2018, 12:10 PM
Markus Kaleton
Markus Kaleton - avatar
+ 1
well you could start by taking the sql course here
25th Mar 2018, 5:26 PM
Markus Kaleton
Markus Kaleton - avatar
0
Where's a good place to get started on Databases then?
25th Mar 2018, 4:41 PM
Brendan Balderson
Brendan Balderson - avatar