chase32 0 Newbie Poster

There is a table that I need to access using pyodbc that contains numeric descriptions for some of the columns and I cant seem to figure out how to get to them by name.

for example, this works great for pulling the column called 'Category'

cursor.execute("exec blablabla")
for row in cursor:
    print row.Category

Unfortunately there are columns with names like 09Q4 giving me an error if I try to use row.09Q4

Is there any way to work around this or am I stuck not being able to use the name and having to use row[x]?