摘要: #需要安装的库 sudo apt-get install build-dep python-psycopg2 pip install psycopg2 #!/usr/bin/python # -*- coding: UTF-8 -*- import psycopg2 #连接数据库 conn = psycopg2.connect(database="sde_pg_10_3", user="p... 阅读全文
posted @ 2018-07-01 18:11 kerwin cui 阅读(600) 评论(0) 推荐(0) 编辑