cinap_lenrekadd hg and python4bb9e2215 years agoHistory
12 lines · 227 B · Python
RawDownload
import sqlite3 con = sqlite3.connect("mydb") cur = con.cursor() who = "Yeltsin"age = 72 cur.execute("select name_last, age from people where name_last=:who and age=:age",    {"who": who, "age": age})print cur.fetchone()

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t