Unsupported operand types in if/else list comprehension
George Sakkis
george.sakkis at gmail.com
Sat Apr 11 16:18:04 EDT 2009
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
More information about the Python-list
mailing list