
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
PythonからPostgreSQLを操作 - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
PythonからPostgreSQLを操作 - Qiita
import psycopg2 connection = psycopg2.connect( host='localhost', database='userdb', user='user', ... import psycopg2 connection = psycopg2.connect( host='localhost', database='userdb', user='user', password='password') cur = connection.cursor() cur.execute('SELECT * FROM mybook;') results = cur.fetchall() print(results) cur.close() connection.close() 参考 Windows10のWSL(Ubuntu)にPostgreSQLをインストールしたときのメモ https://qiita.com/syutaro/items/d08c5c7cc24cddf7694c psycopg2 インストールエラー https://qiita.com/b2bmaker