1
Livid MOD ss[1] 后面多了个逗号。
|
2
O21 OP |
3
O21 OP class SomePage:
def GET(self,name): conn = sqlite3.connect('./DB/ershou.db') LjDB = conn.cursor() searcher = web.input() DBsearch = LjDB.execute("select * from caiji where post like ?", ('%{}%'.format(searcher),)) tt = DBsearch[1] return searcher.name 这样不会显示错误了。。但是貌似 跳过了 DBsearch |