connect Postgres SQL in python
Pre-requisites:
Postgres database
Python
step -1
pip install psycopg2-binary
step -2
postgres credentials
host='localhost'
dbname='practice_db'
username='postgres'
password=123456
port=5432
step -3
import the pscopg2 module and use the connect ...
notes123.hashnode.dev1 min read