Re: dynamic if statement

2013-06-20 Thread upperdecksu
On Tuesday, June 18, 2013 10:10:42 AM UTC-4, upper...@gmail.com wrote: I am new to python and struggling with creating a dynamic if statement. I have a set of queries that are run against various databases/tables. The result is all the same in that I always get back the same field

dynamic if statement

2013-06-18 Thread upperdecksu
I am new to python and struggling with creating a dynamic if statement. I have a set of queries that are run against various databases/tables. The result is all the same in that I always get back the same field names. What I want to do is total the results differently based on the table. so