Delete Many Selected Database Records - Python Tkinter GUI Tutorial 180

Pubblicato il: 08 giugno 2021
sul canale di: John Elder
6,857
189

In this video we'll learn how to delete many selected records from the database and the treeview for tkinter and python.

We already have the ability to select multiple records in the treeview. In this video we'll delete those selections from the database.

We'll use c.executemany() to delete more than one record from the database.

#tkinter #codemy #JohnElder

Timecodes
0:00​​ - Introduction
2:10 - Create Message Box On Delete
2:35 - Add Database Connection and Cursor
3:37 - Select Items From Treeview
4:43 - Determine Record ID from Treeview Selected Item
8:18 - Add ID's To A List
10:00 - Remove From Table With Executemany
14:14 - Convert ids_to_delete to Tuple
15:20 - Conclusion


In questa pagina del sito puoi guardare il video online Delete Many Selected Database Records - Python Tkinter GUI Tutorial 180 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato John Elder 08 giugno 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 6,857 volte e gli è piaciuto 189 spettatori. Buona visione!