0
我在python中的這個sqlite3語句中綁定有問題。任何幫助都會有所幫助。由於python中的sqlite綁定錯誤
print page
print section
cur.execute('SELECT * FROM docList WHERE pageFileName = ? AND sectionTitle = ?',(page,section,))
這裏是輸出
(u'current_reports.html',)
(u'Intro',)
Traceback (most recent call last):
File "C:\Work\Dropbox\Public\www\propagateIndex.py", line 65, in <module>
cur.execute('SELECT * FROM docList WHERE pageFileName = ? AND sectionTitle = ?',(page,section,))
InterfaceError: Error binding parameter 0 - probably unsupported type.
>>>
我已經閱讀了很多關於這個其他職位,但我不知道該怎麼做還。試過不同
非常感謝,我總是與奮鬥! – John