djangoでUniqueViolationの例外エラーを取得する
https://qiita.com/naito_neegi/items/d29bfbcea8cbb71f41bf?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
djangoでUniqueViolationの例外エラーを取得する
https://qiita.com/naito_neegi/items/d29bfbcea8cbb71f41bf?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
不正アクセスしてきたホストの国コードを知ってセキュリティ対策に活用する
https://qiita.com/pipito-yukio/items/147f7b2f42ad9fc1dbd0?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
To connect to a database in Python, use a database-specific library such as Pyodbc for Microsoft Access and SQL Server, Psycopg2 for PostgreSQL, mysql-connector-python for MySQL, or sqlite3 for SQLite. You will need to execute a database query to retrieve the data after establishing the connection.
#python #Pyodbc #Psycopg2 #PostgreSQL #mysql-connector-python #MySQL #sqlite3 #SQLite #database #db #sql
Dear #Python community,
what is the recommended library to interact with #PostgreSQL?
I've heard of #psycopg2 and #SQLAlchemy in context of web applications but want to build a desktop app.
Tried #PonyORM with mixed results.
I'd prefer not to go raw #SQL if possible.
#python #psycopg2
psycopg2 インストールエラー - Qiita https://qiita.com/b2bmakers/items/d1b0db5966ac145b0e29
> sudo apt install libpq-dev
これでいけた