0

My final goal is to setup a server on my raspberry pi which can connect to a local postgresql server. Im a bit familiar with postgres therefore I installed it on my raspberry pi immediately. however, I dont see any reasonable solution on how to connect to it from within python. Any help is welcome.

1

1 Answer 1

2

Here is a link to a SQL Alchemy post which can help

Connecting postgresql with sqlalchemy

you will need to install pyscopg2

Sign up to request clarification or add additional context in comments.

1 Comment

Or just use psycopg2 directly if you don't want the abstraction layer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.