Store a variable permanently

Roy Smith roy at panix.com
Sat Mar 2 02:55:56 CET 2013


In article <51315957$0$30001$c3e8da3$5496439d at news.astraweb.com>,
 Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote:

> On Fri, 01 Mar 2013 07:42:38 -0700, Michael Torrie wrote:
> 
> > Another solution is to use a database system.  Either SQLite
> > (file-based) or something server-based like PosgreSQL or MariaDB.
> 
> The data in this case is a single integer value. Installing and running a 
> database for a single integer is like using a using a bulldozer for 
> moving your keyboard half an inch to the left.

True, but it's worth pointing out that SQLite is such a small bulldozer 
that it could fit in your shirt pocket with room left over for a couple 
of pencils.



More information about the Python-list mailing list