Unsupported operand types in if/else list comprehension

Mike H cmh.python at gmail.com
Sat Apr 11 16:26:48 EDT 2009


George,

I'd love to. Can you give me an idea of where to start looking? I've
gone through a couple of books, and Googled a ton of websites. Maybe
I'm just not using the right terms. My background is definitely not
CompSci. But if you'd give me a suggestion of where to look, I'd
appreciate it.

Thanks,

On Sat, Apr 11, 2009 at 4:18 PM, George Sakkis <george.sakkis at gmail.com> wrote:
> On Apr 11, 3:03 pm, Mike H <cmh.pyt... at gmail.com> wrote:
>
>> Can I not use the cursor.execute command to pass variables that aren't
>> immediately next to each other? If so, is there a better way to go
>> about solving this problem?
>
> Yes, there is. Use one of the several production quality python SQL
> toolkits built for exactly this purpose instead of putting together an
> ad-hoc, informally-specified bug-ridden slow implementation of half of
> their feature set.
>
> George
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list