Pythonの標準ライブラリでSQLを使用できるsqlite3を紹介します。SQLとはデータベース(以下DB)を操作するための言語です。sqlite3はRDBMS形式でありテーブルと呼ばれるExcelみたいな表形式に近い形で操作できます。 sqlite3は大規模向けではなくプロトタイプや小 ...
googleのcolabでやっていきます。 まず、データベースSQLiteファイルの"ejdict.sqlite3"の中身をみてみましょう。 import sqlite3 conn = sqlite3.connect("ejdict.sqlite3") c = conn.cursor() c.execute("select * from sqlite_master where ...
I was really excited about switching away from poetry and pyenv to uv for building and testing our project. However, our project relies on sqlite3.Connection.serialize and ...
Don't be afraid of using your chosen database's command-line client. I might as well say this up front: I don't like using GUI (aka non-command-line or graphical) tools with my databases. This is ...