MySQLdbd error. Perhpas it isn't installed?
Chris Angelico
rosuav at gmail.com
Wed Mar 27 22:31:20 EDT 2013
On Thu, Mar 28, 2013 at 1:19 PM, Νίκος Γκρ33κ <nikos.gr33k at gmail.com> wrote:
> The following works in python 3.2
>
> [code]
> cur.execute( '''SELECT hits FROM counters WHERE url = ?''') , (page,)
> [/code]
This is an email list and newsgroup. You don't need tags like that.
I don't know what you mean by "works". Check out the operator precedence table:
http://docs.python.org/3.3/reference/expressions.html#operator-precedence
Figure out what the above expression will do, then decide for yourself
whether page is having any effect on it.
ChrisA
More information about the Python-list
mailing list