psycopg supress output

Michael Fuhr mfuhr at fuhr.org
Mon Nov 15 23:07:25 EST 2004


roderik <rune.hansen at scanmine.com> writes:

> How do I supress the output generated from each psycopg command:
>
>  >>> import psycopg
> initpsycopg: initializing psycopg 1.99.10
> typecast_init: initializing NUMBER

Build pscyopg without PSYCOPG_DEBUG.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



More information about the Python-list mailing list