summaryrefslogtreecommitdiff
path: root/sandbox/gtk.py
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/gtk.py')
-rw-r--r--sandbox/gtk.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/sandbox/gtk.py b/sandbox/gtk.py
deleted file mode 100644
index b98c1fe..0000000
--- a/sandbox/gtk.py
+++ /dev/null
@@ -1,18 +0,0 @@
-import psycopg2
-
-o = psycopg2.connect("dbname=test")
-c = o.cursor()
-
-def sql():
- c.execute("SELECT 1.23 AS foo")
- print(1, c.fetchone())
- #print c.description
- c.execute("SELECT 1.23::float AS foo")
- print(2, c.fetchone())
- #print c.description
-
-print("BEFORE")
-sql()
-import gtk
-print("AFTER")
-sql()