What is description attribute in python?

satishmlmlml at gmail.com satishmlmlml at gmail.com
Sun Nov 9 05:42:01 EST 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