Active Topics

 


Reply
Thread Tools
Posts: 2 | Thanked: 0 times | Joined on Jun 2010
#1
Hi everybody.
I'm starting to develop a simple Python application for the Maemo 5 OS with Scratchbox and ESBox.
I'm trying to use sqlite from python and I've read that I have to import pysqlite module. Furthermore, searching the internet I've read that this module should be natively installed on the system, but I can't find a way to import this module.
Any help would be greatly appreciated.
 
Posts: 125 | Thanked: 77 times | Joined on Oct 2009 @ Sao Paulo, Brazil
#2
Import sqlite3, not pysqlite.

http://docs.python.org/library/sqlite3.html
 
Posts: 2 | Thanked: 0 times | Joined on Jun 2010
#3
jaguilar, first of all, thanks for interesting
I had already tried importing sqlite3 with no success
after a scan of py files within the scratchbox filesystem I've found out that I had installed more than one version of python interpreter and the default one was 2.3.
Launching 'python2.5' I managed to import sqlite3.

Thanks again

Steffen
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:18.