How to build the pysqlite? Where to find the "sqlite3.h"?

Thorsten Kampe thorsten at thorstenkampe.de
Thu Nov 6 04:23:00 EST 2008


* Kurda Yon (Wed, 5 Nov 2008 17:52:08 -0800 (PST))
> On Nov 5, 1:55 pm, Thorsten Kampe <thors... at thorstenkampe.de> wrote:
> > You (and Kurda) keep on talking the wrong stuff. First: you don't
> > need pysqlite2. SQLite support is included in the latest Python as
> > module sqlite3.
> 
> By the way, I think the above statement is very helpfull. I tried to
> install the "pysqlite" to be able to communicate with the "sqlite",
> and then I have realized that for that I need first to install the
> "sqlite"...
> 
> But I read your statement and understood that I do not need to install
> neither "pysqlite" no "sqlite". In my Python session I tried to type
> "from sqlite import connect" and it does not compaline. It meand that
> Python see the database!!! I hope.

I don't think so. There is no "sqlite" module in Python so the above 
line should give you an error. The module is called sqlite3.
 
> By the where can I find a simle tutorial about the work with the
> "sqlite" from the Python?

Guess where: in the Python documentation and on the pysqlite web site:
http://docs.python.org/library/sqlite3.html
http://oss.itsystementwicklung.de/download/pysqlite/doc/sqlite3.html

Thorsten



More information about the Python-list mailing list