---
title: "Discussion on \"Setup POSTGRES with Python 🐍\" | Hashnode"
description: "Discussion on \"Setup POSTGRES with Python 🐍\". Postgres Download\nDownload POSTGRES \nPsycopg2\n import psycopg2\nSimple Python Script to connect with POSTGRES DB\nimport psycopg2\n\n## Connect to the DB\n\nconnection\n = psycopg2.connect(\n        host = \"127.0.0.1\",\n                port = \"5432\",\n        ..."
url: "https://hashnode.com/posts/setup-postgres-with-python/633873741543f38d28de2e61"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Setup POSTGRES with Python 🐍](https://addyblog.hashnode.dev/setup-postgres-with-python?utm_source=hashnode&utm_medium=feed)

Postgres Download Download POSTGRES Psycopg2 import psycopg2 Simple Python Script to connect with POSTGRES DB import psycopg2 ## Connect to the DB connection = psycopg2.connect( host = "127.0.0.1", port = "5432", ...

Oct 1, 2022 · 1 min read · addyblog.hashnode.dev  
Read the article

-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#python](https://hashnode.com/tag/python)
-   [#databases](https://hashnode.com/tag/databases)

## Written by

[Aditya Chaudhary](https://hashnode.com/@addy206)

@addy206 · Mumbai

  
[View profile](https://hashnode.com/@addy206)

Freelance Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
