satishmlm...@gmail.com wrote: > What does description attribute in the following code mean? > > curs.execute('select * from people') > colnames = [desc[0] for desc in curs.description]
It's an attribute called "description". You would need to read the documentation for curs to know what it does. What is curs? Where does it come from? -- Steven -- https://mail.python.org/mailman/listinfo/python-list