sqlite3 is it in the python default distro?

M

Martin Marcher

Hello,

I can see that sqlite is in the standard lib documentation:
http://docs.python.org/lib/module-sqlite3.html

however debian and ubuntu (and gentoo according to the packages info) seem
_not_ to include it.

Now 2 question arise:

a) Is sqlite included in the python default distribution
b) In real life can I consider (on linux) that an installation of python
includes the sqlite stuff?

thanks
martin

--
http://noneisyours.marcher.name
http://feeds.feedburner.com/NoneIsYours

You are not free to read this message,
by doing so, you have violated my licence
and are required to urinate publicly. Thank you.
 
D

Diez B. Roggisch

Martin said:
Hello,

I can see that sqlite is in the standard lib documentation:
http://docs.python.org/lib/module-sqlite3.html

however debian and ubuntu (and gentoo according to the packages info) seem
_not_ to include it.

Now 2 question arise:

a) Is sqlite included in the python default distribution

Yes, since 2.5
b) In real life can I consider (on linux) that an installation of python
includes the sqlite stuff?

distutils is an example of a standard-module that gets ripped out of
python by distros frequently, so that people need to install python-dev
or such a package.

So - yes, it happens that distros don't deliver the whole standard
distribution. Now I'm not sure if that happens for sqlite, but if your
own tests show so (reminder: python 2.5, accidentially using earlier
versions that are installed won't work of course), then the answer is -
no, you can't

Diez
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top