Skip to content

Instantly share code, notes, and snippets.

@lanius
Created November 24, 2013 08:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lanius/7624656 to your computer and use it in GitHub Desktop.
Save lanius/7624656 to your computer and use it in GitHub Desktop.
Display SQLite version in Python
import sqlite3; con = sqlite3.connect(':memory:'); cur = con.cursor(); cur.execute('select sqlite_version(*)').fetchone(); con.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment