What is description attribute in python?

satishmlmlml at gmail.com satishmlmlml at gmail.com
Sun Nov 9 11:42:01 CET 2014


What does description attribute in the following code mean?

curs.execute('select * from people')
colnames = [desc[0] for desc in curs.description]




More information about the Python-list mailing list