[Tutor] sqlite3 select extra characters
Lang Hurst
lang at tharin.com
Fri Jun 18 07:54:05 CEST 2010
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.
More information about the Tutor
mailing list