In <d559ab56-241b-49d0-84fd-ebd0b7042...@googlegroups.com> 
andydtay...@gmail.com writes:

>       for row in cursor:
>               row_count += 1
>               if row[4] = True
>                       print row[1]

Since row[4] is a boolean value, you should be able to just say:

   if row[4]:
       print row[1]

-- 
John Gordon                   A is for Amy, who fell down the stairs
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to