Skip to content

Instantly share code, notes, and snippets.

@willkelly
Created June 27, 2014 13:15
Show Gist options
  • Save willkelly/8989ddae0fb399906dc5 to your computer and use it in GitHub Desktop.
Save willkelly/8989ddae0fb399906dc5 to your computer and use it in GitHub Desktop.
import sqlite3
con = sqlite3.connect("/dev/input")
cursor = con.cursor()
cursor.execute("Select name from object")
print "\n".join([item[0] for item in cursor.fetchall()])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment