Is there a way to just return the values when using sqlite3?

If I:

   names = c.execute('select names from students')
   for name in names: print names

I get the list I want, but they look like

(u'Cleese, John')
(u'Jones, Terry')
(u'Gillaim, Terry')

is there a way to just return

Cleese, John
Jones, Terry
Gillaim, Terry

?

It seems a shame to have to run the answers through a stip process.

--
There are no stupid questions, just stupid people.

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to