I would like a general way to generate column labels directly from the selected column names, and recall seeing that python's psycopg2 module supports this feature.
From "Programming Python" by Mark Lutz:
curs.execute("Select * FROM people LIMIT 0") colnames = [desc[0] for desc in curs.description]
1.4m articles
1.4m replys
5 comments
57.0k users