postgresql python 批量插入
import psycopg2from psycopg2 import extras as exconn = psycopg2.connect(database="test", user="postgres", password="db12345678", host="localhost", port="5432")cursor = conn.cursor()# values 后面直接%ssql