Olli,
If you are using SQLObject, you don't need to import the database
directly,
in dev.cfg
# for Windows users, sqlite URIs look like:
sqlobject.dburi="sqlite:/C|/devTesting/data/data.db"
the dburi tells SQLObject which system to bring in.
If you are going straight to sqlite, bypassing sqlobject, then
take a peek at these docs:
http://initd.org/pub/software/pysqlite/doc/usage-guide.html
The example for the connection show:
2.1 Connecting to a Database
Example 1
Connecting to a database file mydb:
from pysqlite2 import dbapi2 as sqlite
con = sqlite.connect("mydb")
Example 2
Creating an in-memory database:
from pysqlite2 import dbapi2 as sqlite
con = sqlite.connect(":memory:")
Hope this is helpful,
Mike