On Mar 2, 7:33 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > In <[EMAIL PROTECTED]>, gert wrote: > > I was thinking about making a column module that names the columns, i > > was hoping there would be some sort of api feature that already exist > > because parsing sql statemants to figure out which column is refers to > > what is allot of work. > > Are you searching for the `description` attribute of cursors? Section > `Cursor Objects`: > > http://www.python.org/dev/peps/pep-0249/
i think so :) if cursor.description would give me for example the word databases when i do a query like "show databases" or gives me all the column names when i do "select * from mytable" -- http://mail.python.org/mailman/listinfo/python-list