Brilliant, thanks guys
--
http://mail.python.org/mailman/listinfo/python-list
In
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
On Friday, January 4, 2013 10:08:22 AM UTC-8, andyd...@gmail.com wrote:
> Hi,
>
> I'm hoping for some help on a python script I need to query an api. I'm not a
> (Python) programmer ordinarily, but do plan to improve!
>
> Specifically I have a for loop evaluating a database row, which I think I