Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pom = collectionBook.find({"nazwa": tmpTitle})
- for i in pom:
- tmpID = i['_id']
- if messagebox.askyesno('Uwaga', 'Czy na pewno chcesz usunąć rekord?'):
- messagebox.showwarning('Tak', collectionBook.remove({"_id": tmpID}))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement