Jonathan Gardner wrote:
Don't use Python variables to store data long-term. Instead, setup a
database or a file and use that. I'd first look at using a file, then
using SQLite, and then a full-fledged database like PostgreSQL.

Just to add to the mix, I'd put the "anydbm" module on the gradient between "using a file" and "using sqlite". It's a nice intermediate step between rolling your own file formats for data on disk, and having to write SQL since access is entirely like you'd do with a regular Python dictionary.

-tkc


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to