Python’s built in database Your Python installation contains a Python SQL library named sqlite3 that you can use to interact with an SQLite database. SQLite databases are serverless and self-contained, they read and write data to a file.