Re: [Tutor] sqlite question

2013-06-11 Thread Todd Matsumoto
I think you are missing the fetch call. The cursor only executed your query, but hasn't fetched any thing out. On Tue, Jun 11, 2013 at 12:20 PM, Khalid Al-Ghamdi wrote: > Hi, > > I have a dictionary with keys as employee badges and values as their > names. Both key and value are strings. > > I w

[Tutor] sqlite question

2013-06-11 Thread Khalid Al-Ghamdi
Hi, I have a dictionary with keys as employee badges and values as their names. Both key and value are strings. I want to read the badges from a sql select and use that to look up the names in the dictionary. But since the result is a tuple, it doesnt' work. how can i overcome this? 1. >>>