Ver originalcursor = conn.cursor()cursor.executemany("INSERT INTO table (col1, col2) values (%s,%s)", (value1, value2))cursor.commit()