q="1" sql = """ SELECT * FROM test WHERE code like '%%s%' """ % (q)
Statement error ,unsupported format character ''' (0x27) at index 66
A lot of ways have been tried ,like Fuzzy query of % Match and placeholder %s It's not universal , What should I do ?