Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cur.execute('select * from table where title like "spam%seggs"',
- [conjunction])
- cur.execute('select * from table where title like %s',
- ['spam{}eggs'.format(conjunction)])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement