Psycopg2 (Python) w/ PostGreSQL

preview_player
Показать описание
Quick programming video.
Рекомендации по теме
Комментарии
Автор

Thank you for posting this. After struggling with the documentation for connecting to PostgreSQL database via Python, your 10 min vid solved all my problems. BTW, I had to pip install psycopg2 (not psycop2). I also had to set PATH=%PATH%;C:\Program Files\PostgreSQL\10\bin

kurtb
Автор

OMG, THIS IS PERFECT
WHAT I'VE BEEN LOOKING FOR!

dyleeng
Автор

NOTE: I should've mentioned that the cursor object comes with 3 distinct functions: fetchall() which returns a list of all entries i.e. a list of tuples, fetchone() which returns the first entry as a tuple, and fetchmany(n) which returns the top n entries of the table in a list.

RemyEls
Автор

This was a great tutorial, thank you!

I just have a quick question for downloading Psycopg2. Did you download it from the command prompt/terminal or the website? For mine, it is not working whatsoever, because MAC OS does not allow .exe files. Any recommendations on how to download on MAC? Thanks again!

Lena-ofwd
Автор

Would've subscribed if you made videos periodically :c

dyleeng
join shbcf.ru