Python, CGI and Sqlite3
Majdi Sawalha
maj_sawalha at yahoo.com
Tue Apr 13 13:41:33 EDT 2010
Dear list members,
I am writing CGI program that reads a text feild and uses with select statement to retrieve data from a database file using sqlite3. the program behaived very strange as it does not recognizes the
import sqlite3
statement? and it gives the following error
ImportError: No module named sqlite3,
i tried it on python shell and all statements are work well.
i tried it also by prining the output to a text file instead using cgi web folder, and it worked.
Looking forward to hearing from you.
best regards,
Majdi Sawalha
Faculty of Engineering
School of Computing
University of Leeds
Leeds, LS2 9JT
UK
http://www.comp.leeds.ac.uk/sawalha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100413/a4288cc0/attachment.html>
More information about the Python-list
mailing list