Re: [Tutor] Handling 'None' (null) values when processing sqlite cursor results

2010-07-14 Thread Andre Engels
On Wed, Jul 14, 2010 at 6:31 AM, Monte Milanuk wrote: > Hello all, > > I'm struggling a bit trying to find the right way to deal with null values > in my sqlite database when querying it and processing the results in python. > > If my cursor.fetchall() results return the following: > > (104, None,

[Tutor] Handling 'None' (null) values when processing sqlite cursor results

2010-07-13 Thread Monte Milanuk
Hello all, I'm struggling a bit trying to find the right way to deal with null values in my sqlite database when querying it and processing the results in python. If my cursor.fetchall() results return the following: (104, None, u'Sylvester', None, u'Evans', None, u'527-9210 Proin Av.', u'L