Settings

Theme

Ask HN: Trying to learn Postgres and Python, any help?

4 points by aio2 a year ago · 6 comments · 1 min read


I wish to learn about Postgres and applying it to Python. Any good resources on this? Documentation is confusing me, Chatgpt doesn't give the best lessons, and other websites that I search for don't go into enough depth. Sure, they cover the basics, but I'd like to learn more.

If I had to be selfish, something similar to the Head First series would be greatly appreciated. I was originally going to use it, but they went with mysql. I tried to follow along even though I was using Postgres, but I got stuck on some spots, so something more aligned to postgres would be better for me.

Thanks.

thesuperbigfrog a year ago

Did you try the tutorial in the Postgresql documentation?

https://www.postgresql.org/docs/current/tutorial.html

The psycopgb library is an easy way to use a Postgresql database from Python:

https://www.psycopg.org/psycopg3/docs/

  • aio2OP a year ago

    Thanks, I didn't originally see this. This helps a lot.

  • gjvc a year ago

    pg8000 is a pure python postgres library, should op require that

softinio a year ago

For Postgres take a look at this:

https://www.crunchydata.com/developers/tutorials

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection