Re: File DB instead of real database?

2007-04-16 Thread Sebastian Bassi
On 13 Apr 2007 21:14:36 -0700, Jia Lu <[EMAIL PROTECTED]> wrote: > I donot want to use a real DB like MySQL ... But I need something to > save about more than 1000 articles. > Is there any good ways? SQLite is a good option, as you were told. But what about put them in a dictionary and then cPic

Re: File DB instead of real database?

2007-04-16 Thread Bruno Desthuilliers
Jia Lu a e'crit : > Hello all > > I donot want to use a real DB like MySQL ... Whether MySQL is qualifies as a "real DB" is still an open question. But you can use SQLite, which is an embedded SQL database. -- http://mail.python.org/mailman/listinfo/python-list

Re: File DB instead of real database?

2007-04-13 Thread Pierre Quentel
On 14 avr, 06:14, "Jia Lu" <[EMAIL PROTECTED]> wrote: > Hello all > > I donot want to use a real DB like MySQL ... But I need something to > save about more than 1000 articles. > Is there any good ways? > Hi, For small sets of data PyDbLite is a good alternative to full-blown db engines >>> im

Re: File DB instead of real database?

2007-04-13 Thread fumanchu
On Apr 13, 9:14 pm, "Jia Lu" <[EMAIL PROTECTED]> wrote: > I do not want to use a real DB like MySQL ... > But I need something to save about more than > 1000 articles. Is there any good ways? The latest version of Dejavu includes a filesystem backend. See "Folders" at http://projects.amor.org/docs

Re: File DB instead of real database?

2007-04-13 Thread Richard Jones
Jia Lu wrote: > I donot want to use a real DB like MySQL ... But I need something to > save about more than 1000 articles. > Is there any good ways? import anydbm Richard -- http://mail.python.org/mailman/listinfo/python-list

Re: File DB instead of real database?

2007-04-13 Thread Paul McNett
Jia Lu wrote: > I donot want to use a real DB like MySQL ... But I need something to > save about more than 1000 articles. > Is there any good ways? (in Python 2.5): #-- begin import sqlite3.dbapi2 as sqlite con = sqlite.connect("path/to/new/filename.db") cur = con.cursor() cur.executescript("

File DB instead of real database?

2007-04-13 Thread Jia Lu
Hello all I donot want to use a real DB like MySQL ... But I need something to save about more than 1000 articles. Is there any good ways? Thanx Jia Lu -- http://mail.python.org/mailman/listinfo/python-list