Python 使用psycopg2批量插入PG库
摘要:
import psycopg2 conn = psycopg2.connect(database="sdp", user="kiki", password="123", host="", port="5432") cursor = conn.cursor() stats_sql = "select 阅读全文
posted @ 2022-09-23 17:51 滚动的蛋 阅读(403) 评论(0) 推荐(0) 编辑