python连接postgresql数据库

只需要安装psycopg2这个库就好了,系统为centOS6.3

sudo yum install postgresql-devel.x86_64

sudo pip install -U psycopg2
原文地址:https://www.cnblogs.com/cyttina/p/3127354.html