Thanks.
Alan Gauld wrote:
"Lang Hurst" <l...@tharin.com> wrote
Is there a way to just return the values when using sqlite3?
I don't think so, select returns a tuple of values, even if there is
only one value.
I get the list I want, but they look like
(u'Cleese, John')
is there a way to just return
Cleese, John
It seems a shame to have to run the answers through a stip process.
It's hardly a major effort to index the item?
print name[0]
instead of
print name
HTH,
--
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