[PyQt] PyQt and DB API.

Andreas Pakulat apaku at gmx.de
Sat May 17 23:00:00 BST 2008


On 17.05.08 23:47:49, objectref wrote:

Please don't hijack other people's threads.

> As I have the opinion that "standard" is a good thing, do you think that I
> better use some other module that is DB-API compliant or PyQt is best to be
> used in this case?

Well, that depends on two things: 

a) is there something that Qt/PyQt delivers out-of-the-box, which you'd
need to write yourself with the builtin DB-API? (for example it has
support for the model/view stuff, it ships with a couple of databases
supported, while python only supports sqlite out of the box)

b) which API is nicer for you to work with? (unasked answer from me:
Qt/PyQt is a _lot_ nicer for me personally, DB-API feels like the C-API
that the databases offer)

Andreas

-- 
Don't you wish you had more energy... or less ambition?


More information about the PyQt mailing list