On 3 oct, 22:01, MindMaster32 <[EMAIL PROTECTED]> wrote:

Hi,

Maybe PyDbLite (http://quentel.pierre.free.fr/PyDbLite/index.html) is
what you need : a single Python module, compatible with Python 2.3+,
that lets you manipulate data in memory

You can manage a database like this :

import PyDbLite
db = PyDbLite.Base("dummy")
db.create("record,"artist","released") # fields are untyped
db.insert("Closer","Joy Division",1980)
db.insert("Different Class","Pulp",1996)
db.commit() # save to disk
print [ r for r in db if r["released"] > 1990 ]
print db(artist="Joy Division")

Regards,
Pierre

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

Reply via email to