diff options
Diffstat (limited to 'sandbox/textfloat.py')
-rw-r--r-- | sandbox/textfloat.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sandbox/textfloat.py b/sandbox/textfloat.py deleted file mode 100644 index 2bc528d..0000000 --- a/sandbox/textfloat.py +++ /dev/null @@ -1,8 +0,0 @@ -import gtk -import psycopg2 - -o = psycopg2.connect("dbname=test") -c = o.cursor() -c.execute("SELECT 1.23::float AS foo") -x = c.fetchone()[0] -print(x, type(x)) |