Skip to content

Instantly share code, notes, and snippets.

@ejmurray
Created April 16, 2016 18:21
Show Gist options
  • Save ejmurray/dc9e15d600d22bea91049a821a48d7aa to your computer and use it in GitHub Desktop.
Save ejmurray/dc9e15d600d22bea91049a821a48d7aa to your computer and use it in GitHub Desktop.
ListNumbers.py
import sqlite3
conn = sqlite3.connect('test.sqlite')
c = conn.cursor()
c.execute('''CREATE TABLE tree (cat VARCHAR(20) PRIMARY KEY, count INT, damages FLOAT)''')
c.close()
conn.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment