Psql Odbc Repack -
conn = pyodbc.connect( "Driver=PostgreSQL Unicode;" "Server=localhost;" "Port=5432;" "Database=mydb;" "UID=postgres;" "PWD=secret;" "BoolsAsChar=0;" )
For official documentation, see: psqlODBC on PostgreSQL Wiki psql odbc
conn = pyodbc.connect( "Driver=PostgreSQL Unicode;" "Server=localhost;" "Port=5432;" "Database=mydb;" "UID=postgres;" "PWD=secret;" "BoolsAsChar=0;" )
For official documentation, see: psqlODBC on PostgreSQL Wiki psql odbc