Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7023

Python • Re: Managing (very) complex Dictionary structures.

$
0
0
You probably want to use a database. I'd suggest SQLite is an ideal candidate.
I use SQLite for lots of things, but this is unlikely to be one of them! The data I am dealing with comes from a web API as a JSON array which gets converted directly into the Dictionary structure I have displayed. Even if I wanted to store the individual data pairs in a database (which I don't), I would still have to get them out of the Dictionary first!
You may want to post a query in the Python Forum https://discuss.python.org/

Before discounting SQLite, you may want to consider it's JSON support https://www.sqlite.org/json1.html

Statistics: Posted by DS256 — Mon Jan 13, 2025 11:46 pm



Viewing all articles
Browse latest Browse all 7023

Trending Articles