1 2 3 4 5 6 7 8 9
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)
Loggerhead is a web-based interface for Breezy Version: 2.0.1