il faut tout d'abord installer le module psycopg ( http://initd.org/projects/psycopg1 )
(sous windows: http://www.stickpeople.com/projects/python/win-psycopg/index.html

Documentation:...