[sugar] Database Activity

Michael Stone michael at laptop.org
Sat Mar 8 15:58:28 EST 2008


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?

Michael


More information about the Sugar mailing list