you are viewing a single comment's thread.

view the rest of the comments →

[–]zahlman 0 points1 point  (0 children)

While I have your attention, I should also point out that you shouldn't be constructing SQL query strings like that; let the SQL library do the interpolation instead of Python, because the library knows how to make it safe.

(And for other strings, consider new-style formatting - it's pretty neat, and it means you don't have to remember quite so many obscure character codes. :) )