У нас вы можете посмотреть бесплатно Tkinter GUI to display MySQL table records and on selection delete record after user confirmation или скачать в максимальном доступном качестве, которое было загружено на ютуб. Для скачивания выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса savevideohd.ru
While displaying the records in one Tkinter GUI we have discussed about the MySQL connection and collecting records from the student table. (Part 1 ) Display records : • Display ten records of student table ... Edit and Update records : • Tkinter to display MySQL table recor... In this part we will keep the display of records inside one function display() and call the function from main areas of the GUI. This is required as we will be changing the records so we need to refresh the view or refresh the records by calling the function display() again. Read our previous tutorial on how to display records on Tkinter window and how to update the records Display records : • Display ten records of student table ... . While displaying records we will add one Delete button to each record. On click of this button we will carry the row id or record id to a function del_data(). This function will receive the id of the record. Inside the function we will display one confirmation message asking the user to confirm the delete operation. Based on the button the user clicks on the confirmation window we will execute Query to delete the record. After deletion we will print the record deleted message to console and call the display() function to refresh the record display reflecting the delete operation. Before calling the display() function we will remove all widgets from the window by using grid_forget(). We kept our delete query part of the code inside one try except code block to print any error message generated from MySQL delete operation. Source code is here https://www.plus2net.com/python/tkint... #tkinterdatadelete #tkintermysqldelete #sqldatadelete #deletegui #rowdelete #deletegui #plus2net #tkinter #mysql #deletequery #tkinterdelete