Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Query a PSQL Database From Python

conn = psycopg2.connect("dbname=suppliers user=postgres password=postgres")Code language: SQL (Structured Query Language) (sql)
Source by www.postgresqltutorial.com #
 
PREVIOUS NEXT
Tagged: #Query #PSQL #Database #From #Python
ADD COMMENT
Topic
Name
8+6 =