📅  最后修改于: 2022-03-11 15:05:06.779000             🧑  作者: Mango
import sqlite3
conn = sqlite3.connect('dbname')
c = conn.cursor()
c.execute('''CREATE TABLE songs (
song text,
artist text,
year integer)''')