Postgres => Mysql
http://www.internet-technologies.ru/articles/article_2190.html https://wiki.postgresql.org/wiki/Psycopg2_Tutorial вставка в Mysql php.ini [mysql] host = localhost database = mydb user = root password = def insert_books(books): query = "INSERT INTO books(title,name) " \ "VALUES(%s,%s)" try: dbconfig = read_db_config() conn = MySQLConnection(**dbconfig) cursor = conn.cursor() cursor.executemany(query, books) conn.commit() except Error as e: print('Error:', e) finally: cursor.close() conn.close() def main(): books = [('Harry Potter And The Order Of The Phoenix', '9780439358071'), ('Gone with the Wind', '9780446675536'), ('Pride and Prejudice (Modern Library Classics)', '9780679783268')] insert_books(books) if __name__ == '__main__': main() селект из Pos...