What should I install so I can connect to sqlite from
Python.
One simple example would be very helpfull.
Thanks,
Pajo 7 2308
On 5/3/05, Pajo <pa**@pajo.com> wrote: What should I install so I can connect to sqlite from Python. One simple example would be very helpfull.
You haven't mentioned which operating system you are using.
For Windows, PySQLite binaries are available at http://initd.org/tracker/pysqlite
For Linux/BSD, use your favorite package management software (yum in
Fedora, urpmi in Mandrake, emerge in Gentoo, apt-get in Debian,
pkg_add in FreeBSD), etc.
For Mac, use Fink.
HTH :-)
--
Swaroop C H
Blog: http://www.swaroopch.info
Book: http://www.byteofpython.info
Thnx, my first test app with sqlite is working...
Does PySQLite run on Linux?
Daniel
dcrespo wrote: Does PySQLite run on Linux?
There are specific python modules for SQLite on Linux.
--
Klaus Alexander Seistrup
Magnetic Ink, Copenhagen, Denmark http://magnetic-ink.dk/
dcrespo wrote: Does PySQLite run on Linux?
Yes!
From my Gentoo laptop:
andyvaio root # emerge -av pysqlite
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] dev-python/pysqlite-0.5.1 0 kB
Total size of downloads: 0 kB
Do you want me to merge these packages? [Yes/No]
Cheers,
Andy
> There are specific python modules for SQLite on Linux.
Which? I thought pysqlite works on Linux.
My important question is: If I develop an app using
Python-wxPython-PySQLite under Windows, and run it on Linux, it should
work, ¿right?
Daniel
dcrespo wrote: There are specific python modules for SQLite on Linux. Which? I thought pysqlite works on Linux.
Sure. What he probably meant was that there are binary installers for
pysqlite from various Linux distributions (Debian, Gentoo, ...).
My important question is: If I develop an app using Python-wxPython-PySQLite under Windows, and run it on Linux, it should work, ¿right?
Correct for Python and pysqlite. For wxPython you will often have to do
fine-tuning because some bugs are only present on Windows, and some bugs
are only present on *nix. And things sometimes look slightly different.
-- Gerhard This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Martijn de Munnik |
last post by:
Hi,
I'm trying to build/install pysqlite on a Solaris 10 platform. I've got
Sun Studio 11 on a AMD 64 platform and got this error. I'm a python newbie
and just want to install trac. I've got...
|
by: BartlebyScrivener |
last post by:
Sorry, I have a knack for making things more difficult than they need
to be. I'm on Windows XP and waiting for the ActiveState release of
Python 2.5. I want to experiment with sqlite and I see that...
|
by: Daniel Fetchinson |
last post by:
Does Python 2.5.2's embedded SQLite support full text searching?
Sqlite itself is not distributed with python. Only a python db api
compliant wrapper is part of the python stdlib and as such it...
|
by: Jean-Paul Calderone |
last post by:
On Mon, 16 Jun 2008 08:39:52 +1000, Ben Finney <bignose+hates-spam@benfinney.id.auwrote:
Maybe. I'm no expert on Debian packaging. However,
exarkun@boson:~$ ls -l...
|
by: Guilherme Polo |
last post by:
On Tue, Jul 1, 2008 at 9:51 PM, Joe Goldthwaite <joe@goldthwaites.comwrote:
You need sqlite itself (www.sqlite.org) and bindings, pysqlite 2
(http://oss.itsystementwicklung.de/trac/pysqlite/) or...
|
by: Joe Goldthwaite |
last post by:
Thanks Guilherme. That helped. I guess I was thinking that pysqlite would
automatically come with some version of sqlite. The fact that it doesn't is
what was causing me to get the strange...
|
by: timotoole |
last post by:
Hi all,
On a (sun) webserver that I use, there is python 2.5.1 installed. I'd
like to use sqlite3 with this, however sqlite3 is not installed on the
webserver. If I were able to compile sqlite...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |