sqlite3 error: You did not supply a value for binding 1

后端 未结 3 1946
别那么骄傲
别那么骄傲 2020-12-21 11:24
def save():
    global editor
    conn = sqlite3.connect(\'address_book.db\')

    c = conn.cursor()

    recordID = delete_bo         


        
3条回答
  •  误落风尘
    2020-12-21 12:13

    The error is due to the extra colon. Replace

    'first:': ef_name.get(), 
    

    with

    'first': ef_name.get(),
    

提交回复
热议问题