In <[email protected]> [email protected] 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
[email protected] B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
--
http://mail.python.org/mailman/listinfo/python-list
