On Sat, Mar 8, 2008 at 9:58 PM, Michael Stone <[EMAIL PROTECTED]> wrote: > On Sat, Mar 08, 2008 at 03:45:58PM -0500, Chris Ball wrote: > > Hi, > > > > > I can use some advice as to how to proceed with the Python-database > > > linkage. I don't think the XO has Psyqlite installed, and I really > > > want to stay within what is available on the box with no add-ins, > > > if possible. Maybe installing Psyqlite is ok. > > > > We do have pysqlite installed on the laptop already, so it is fine to > > use it. You can access it with: > > > > >>> import pysqlite2 > > SQLite version 3 was merged into Python 2.5, which we use. This means > that > > >>> import sqlite3 > > is another way to access SQLite. > > We apparently ship python-sqlite2 only because the data store depends on > it. Why is the DS not using sqlite3?
The DS used sqlite to store metadata, but stopped doing that quite a while ago. I think the News Reader activity also use(d) pysqlite. The dependencies on pysqlite2 were added when we used python2.4. Tomeu _______________________________________________ Sugar mailing list [email protected] http://lists.laptop.org/listinfo/sugar

