MySQL vrs SQLite

Gerhard Häring gh at ghaering.de
Thu May 6 06:06:25 EDT 2004


Michel Claveau/Hamster wrote:
>>>>doesn't SQLite store its data in memory?
> 
> No !  It's the database-engine who is in embeddable.  The data are stored in
> one file per database.

You *can* also store the data in memory by specifiying :memory:, i. e.:

cx = sqlite.connect(":memory:")

-- Gerhard



More information about the Python-list mailing list