Requisites:
1. TKinter.
2. Pillow.
* I have used pillow for the icon in the title bar you can just comment the lines if you don't need it.
# Line 2
from PIL import ImageTk, Image
# Line 7
win.iconbitmap("icons/dbms.ico")
def showTable():
# Line 131 in this finction
tab.iconbitmap("icons/table.ico")
Simple python Database-Management-System
- Give an id (primary key) to the new record.
- Make sure you enter integers for Age, Date of Birth, Mobile etc.,
- If you enter anything wrong it will not accept the data so, it will not clear the data even if you click
Add Records To Database
button.
- The Show Records button will show the
id
andname
in the bottom box.
- Enter the
id
to edit the records
- The
Update Record
button will be enabled if you clickEdit Record
with anid
- The procedure is similar to updating the records
- The
Show Table
button opens the table in a new window