Skip to content

Instantly share code, notes, and snippets.

@BexTuychiev
Last active August 22, 2020 06:12
Show Gist options
  • Save BexTuychiev/da3ace52e91e8433943b766db9f79c91 to your computer and use it in GitHub Desktop.
Save BexTuychiev/da3ace52e91e8433943b766db9f79c91 to your computer and use it in GitHub Desktop.
connection = sqlite_connect('sample.db')
cursor = connection.cursor()
sql_create_table_query = """
CREATE TABLE audio (name TEXT NOT NULL, data BLOB);
"""
cursor.execute(sql_create_table_query)
connection.commit()
connection.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment