psycopg supress output

Michael Fuhr mfuhr at fuhr.org
Tue Nov 16 05:07:25 CET 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