Odbc Postgresql | 100% EXTENDED |

DSN=MyPostgresDB;UID=postgres;PWD=secret (no DSN):

import pyodbc conn = pyodbc.connect('DSN=MyPostgresDB') cursor = conn.cursor() cursor.execute("SELECT version();") print(cursor.fetchone()) DSN-based : odbc postgresql

CLOSE The Weekend of Giving

This weekend only, give more and receive more. Get bonus gift certificates up to $75 when you buy holiday packages until Monday, December 15 at 11:59 p.m.