def save(): global editor conn = sqlite3.connect(\'address_book.db\') c = conn.cursor() recordID = delete_bo
The error is due to the extra colon. Replace
'first:': ef_name.get(),
with
'first': ef_name.get(),