How do I get the column names from a row returned from an adodbapi query?
cur.description
is a read-only attribute containing 7-tuples that look like:
(name, type_code, display_size, internal_size, precision, scale, null_ok)
So for column names you might do:
col_names = [i[0] for i in cur.description]
Reference: http://www.python.org/dev/peps/pep-0249/