Which Python module for PostgreSQL?

Gandalf gandalf at geochemsource.com
Wed Mar 3 07:32:29 EST 2004


>
>
>I use psycopg usually, though I try to test my progs with all of them
>(except popy).  It's not too hard to accomadate all of them with just a few
>tweaks (usually in the way they handle booleans), since they all use
>pyformat.
>  
>
Hmm, this is why I use C-style booleans (e.g. an integer where 0 means 
false and not 0 means true).
It is totally portable (can be used with any DBMS and with any DB-API 
module). I can be wrong doing
this but it works fine for me.

   G






More information about the Python-list mailing list