I use pymsql

page = '/home/nikos/blabla'

want to insert page into databse and also read back from it

[code]
cur.execute('''SELECT hits FROM counters WHERE url = %s''', page )
[code]

How can i escape the string to be propelry execute the query?