Create a database¶
Import the sqlite module
1import sqlite3
Create a database
4conn = sqlite3.connect("library.db") 5 6cursor = conn.cursor()
Create a table
9cursor.execute( 10 """CREATE TABLE books 11 (title text, language text, author text, license text, 12 release_date text) 13 """ 14)