On Fri, May 17, 2013 at 4:10 PM, Christoph Zwerschke <c...@online.de> wrote: > > Another option would be to get rid of the parameter completely, and silently > accept both styles, whatever is used in the sql command passed to the > execute method.
This is impossible: cur.execute("""Select 'Guess how many params this query has?? ? ? %s';""", args) Please, to everybody involved in this discussion: stop thinking that giving more choices makes people's life easier. No: it makes it more complicated, whatever the person in question is a database driver author, a single database user or a multi-library database author. -- Daniele _______________________________________________ DB-SIG maillist - DB-SIG@python.org http://mail.python.org/mailman/listinfo/db-sig