Extending dict (dict's) to allow for multidimensional dictionary

sturlamolden sturlamolden at yahoo.no
Mon Mar 7 16:03:35 EST 2011


On 7 Mar, 09:30, Chris Rebert <c... at rebertia.com> wrote:

> You see a tree, I see a database (http://docs.python.org/library/sqlite3.html):
>
> +--------------+---------+-----+-------+
> | Manufacturer | Model   | MPG | Price |
> +--------------+---------+-----+-------+
> | Ford         | Taurus  | ... | $...  |
> | Toyota       | Corolla | ... | $...  |
> +--------------+---------+-----+-------+

If a tree of dictionaries becomes a database, then the Python
interpreter itself becomes a database.

Maybe we can implement Python on top of sqlite or Oracle?   ;-)




More information about the Python-list mailing list