import pgdbcxn = pgdb.connect(user='pgsql')cur = cxn.cursor()cur.execute('SELECT * FROM pg_database')rows = cur.fetchall()for i in rows: print icur.close()cxn.commit()cxn.close()
Name (required)
email (will not be published) (required)
Website