On Tue, Jul 31, 2001 at 03:39:49PM +0100, Ken Guest wrote:
[...]
> Well, I'm not too gone on python+mysql as the module I'm
> using, mySQLdb, does away with referring to the fields by name which
> means you have to be very very careful when adding field values to
> be retrieved from the database - I'd be more inclined to stick
> to php+mysql for that kind of stuff.
I'm not sure I know _exactly_ what you mean by this, but with MySQLdb
you can pick a cursor class which returns dictionary objects from
SELECTs, which allows you to play with the recordset in a very
Python-esque way.
David
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!