diff options
Diffstat (limited to 'Doc/lib/sqlite3/execute_1.py')
-rw-r--r-- | Doc/lib/sqlite3/execute_1.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Doc/lib/sqlite3/execute_1.py b/Doc/lib/sqlite3/execute_1.py deleted file mode 100644 index fb3784f..0000000 --- a/Doc/lib/sqlite3/execute_1.py +++ /dev/null @@ -1,11 +0,0 @@ -import sqlite3 - -con = sqlite3.connect("mydb") - -cur = con.cursor() - -who = "Yeltsin" -age = 72 - -cur.execute("select name_last, age from people where name_last=? and age=?", (who, age)) -print cur.fetchone() |